mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
11 lines
261 B
JavaScript
11 lines
261 B
JavaScript
|
|
||
|
require.paths.unshift('spec', './spec/lib', 'lib')
|
||
|
require('jspec')
|
||
|
require('unit/spec.helper')
|
||
|
require('yourlib')
|
||
|
|
||
|
JSpec
|
||
|
.exec('spec/unit/spec.js')
|
||
|
.run({ reporter: JSpec.reporters.Terminal, fixturePath: 'spec/fixtures', failuresOnly: true })
|
||
|
.report()
|