mirror of
https://github.com/localForage/localForage.git
synced 2025-12-08 18:26:09 +00:00
42 lines
1.2 KiB
HTML
42 lines
1.2 KiB
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>localForage callWhenReady Tests!</title>
|
|
|
|
<link rel="stylesheet" href="/bower_components/mocha/mocha.css">
|
|
|
|
<script src="/bower_components/assert/assert.js"></script>
|
|
<script src="/bower_components/mocha/mocha.js"></script>
|
|
|
|
<script src="/bower_components/expect/index.js"></script>
|
|
|
|
<!-- require.js -->
|
|
<script src="/bower_components/requirejs/require.js"></script>
|
|
|
|
<!-- Modernizr -->
|
|
<script src="/bower_components/modernizr/modernizr.js"></script>
|
|
|
|
<!-- Apply "root" level beforeEach hook to run test suite against
|
|
callWhenReady API method stubs -->
|
|
<script src="/test/test.callwhenready.js"></script>
|
|
|
|
<!-- Test runner -->
|
|
<script>
|
|
// Skip irrelevant config tests by mapping them to API tests so that
|
|
// they will not be called.
|
|
requirejs.config({
|
|
map: {
|
|
'*': {
|
|
'/test/test.config.js': '/test/test.api.js'
|
|
}
|
|
}
|
|
});
|
|
</script>
|
|
<script src="/test/runner.js"></script>
|
|
</head>
|
|
<body>
|
|
<div id="mocha"></div>
|
|
</body>
|
|
</html>
|