Move Jest test setup to root (#10963)

This commit is contained in:
Kim Joar Bekkelund 2017-04-05 21:24:01 -04:00 committed by GitHub
parent c6da5f67d6
commit 90be7e882f
10 changed files with 54 additions and 36 deletions

15
scripts/jest.js Executable file
View file

@ -0,0 +1,15 @@
// # 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/optimize/babel/register');
require('../src/jest/cli');