mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-09 03:01:18 +02:00
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.
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()
|