UNPKG

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