1 | import fs from 'fs';
|
2 | import { URL } from 'url';
|
3 | import { declareFactoryPlugin, PluginKind } from '@stryker-mutator/api/plugin';
|
4 | import { mixinJestEnvironment } from './jest-plugins/index.js';
|
5 | import { jestTestRunnerFactory } from './jest-test-runner.js';
|
6 | process.env.BABEL_ENV = 'test';
|
7 | export const strykerPlugins = [declareFactoryPlugin(PluginKind.TestRunner, 'jest', jestTestRunnerFactory)];
|
8 | export const strykerValidationSchema = JSON.parse(fs.readFileSync(new URL('../schema/jest-runner-options.json', import.meta.url), 'utf-8'));
|
9 | export { mixinJestEnvironment };
|
10 |
|
\ | No newline at end of file |