* [babel] create babel-preset and babel-register modules * [babel-preset] add comments to babel-preset-env.target choices * [babel-preset] use more normal BUILT_WITH_BABEL signal * [babel-register] extended comment about filtering ./src in dist * [babel-preset] stage of class properties has changed, sorta
14 lines
342 B
JavaScript
Executable file
14 lines
342 B
JavaScript
Executable file
// # Run Jest tests
|
|
//
|
|
// All args will be forwarded directly to Jest, e.g. to watch tests run:
|
|
//
|
|
// node scripts/jest --watch
|
|
//
|
|
// or to build code coverage:
|
|
//
|
|
// node scripts/jest --coverage
|
|
//
|
|
// See all cli options in https://facebook.github.io/jest/docs/cli.html
|
|
|
|
require('../src/babel-register');
|
|
require('../src/jest/cli');
|