UNPKG

@stryker-mutator/tap-runner

Version:

A plugin to use the TAP (test anything protocol) test runner in Stryker, the JavaScript mutation testing framework

13 lines (8 loc) 549 B
import fs from 'fs'; import { declareFactoryPlugin, PluginKind } from '@stryker-mutator/api/plugin'; import { createTapTestRunner } from './tap-test-runner.js'; export const strykerPlugins = [declareFactoryPlugin(PluginKind.TestRunner, 'tap', createTapTestRunner)]; export { TapTestRunner, createTapTestRunnerFactory } from './tap-test-runner.js'; export const strykerValidationSchema: typeof import('../schema/tap-runner-options.json') = JSON.parse( fs.readFileSync(new URL('../schema/tap-runner-options.json', import.meta.url), 'utf-8'), );