Add minified tests

This commit is contained in:
Matthew Riley MacPherson 2014-05-17 01:52:35 -04:00
parent 223e016d23
commit 44b7e85f7a
2 changed files with 33 additions and 0 deletions

View File

@ -12,6 +12,7 @@ var sourceFiles = [
var testURLs = [
'http://localhost:9999/test/test.component.html',
'http://localhost:9999/test/test.main.html',
'http://localhost:9999/test/test.min.html',
'http://localhost:9999/test/test.require.html'
];

32
test/test.min.html Normal file
View File

@ -0,0 +1,32 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>localForage (minified) Tests!</title>
<link rel="stylesheet" type="text/css"
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>
<!-- Modernizr -->
<script src="/bower_components/modernizr/modernizr.js"></script>
<!-- Test runner -->
<script src="/test/runner.js"></script>
<!-- localForage -->
<script src="/dist/localforage.min.js"></script>
<!-- specs -->
<script src="/test/test.api.js"></script>
<script src="/test/test.config.js"></script>
<script src="/test/test.drivers.js"></script>
</head>
<body>
<div id="mocha"></div>
</body>
</html>