mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
18 lines
483 B
HTML
18 lines
483 B
HTML
|
<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>
|