kibana/scripts/jest_integration.js
2018-02-20 23:02:29 +01:00

18 lines
512 B
JavaScript
Executable file

// # Run Jest integration tests
//
// All args will be forwarded directly to Jest, e.g. to watch tests run:
//
// node scripts/jest_integration --watch
//
// or to build code coverage:
//
// node scripts/jest_integration --coverage
//
// See all cli options in https://facebook.github.io/jest/docs/cli.html
const { resolve } = require('path');
process.argv.push('--config', resolve(__dirname, '../src/dev/jest/config.integration.js'));
require('../src/babel-register');
require('../src/dev/jest/cli');