mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-07 10:11:17 +02:00
11 lines
261 B
JavaScript
Executable File
11 lines
261 B
JavaScript
Executable File
|
|
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()
|