mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
17 lines
464 B
JavaScript
Executable file
17 lines
464 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
|
|
|
|
const { resolve } = require('path');
|
|
process.argv.push('--config', resolve(__dirname, '../src/dev/jest/config.js'));
|
|
|
|
require('../src/babel-register');
|
|
require('../src/dev/jest/cli');
|