silverstripe-framework/admin/thirdparty/jquery-changetracker/spec/server.html
Ingo Schommer 8f23fa99a5 API Moved CMS-specific JavaScript to admin/thirdparty
The 'admin' module will be split off from 'framework',
where 'framework' only provides (mostly) frontend-agnostic PHP classes.
For example, HTMLEditorField.php has a TinyMCEConfig.php driver,
but doesn't come with its own JS includes.
2016-09-16 13:46:10 +12: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>