silverstripe-framework/thirdparty/jquery-changetracker/spec/server.html
David Craig 2140025c20 Implement RFC-7 JavaScript module loader
- Adds ES6 support via Babel
- Transforms existing JavaScript to UMD modules
- Adds module bundling via Browserify
- Existing JavaScript converted to UMD modules
- lib.js and leftandmain.js are bundled using browserify
- JavaScript minifying of bundles handed by gulp
2016-01-26 11:39:20 +13:00

19 lines
484 B
HTML
Executable File

<html>
<head>
<script src="/jspec/jspec.js"></script>
<script src="/jspec/jspec.xhr.js"></script>
<script src="/lib/yourlib.js"></script>
<script src="/spec/unit/spec.helper.js"></script>
<script>
function runSuites() {
JSpec
.exec('unit/spec.js')
.run({ reporter: JSpec.reporters.Server, verbose: true, failuresOnly: true, fixturePath: '/spec/fixtures' })
.report()
}
</script>
</head>
<body class="jspec" onLoad="runSuites();">
</body>
</html>