UNPKG

@stryker-mutator/karma-runner

Version:

A plugin to use the karma test runner in Stryker, the JavaScript mutation testing framework

9 lines 483 B
import { URL } from 'url'; import fs from 'fs'; import { declareFactoryPlugin, PluginKind } from '@stryker-mutator/api/plugin'; import { createKarmaTestRunner } from './karma-test-runner.js'; export const strykerPlugins = [ declareFactoryPlugin(PluginKind.TestRunner, 'karma', createKarmaTestRunner), ]; export const strykerValidationSchema = JSON.parse(fs.readFileSync(new URL('../schema/karma-runner-options.json', import.meta.url), 'utf-8')); //# sourceMappingURL=index.js.map