UNPKG

@stryker-mutator/karma-runner

Version:

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

17 lines 780 B
import { RequestHandler } from 'express'; import { CoverageAnalysis } from '@stryker-mutator/api/core'; import { MutantRunOptions } from '@stryker-mutator/api/test-runner'; export declare const TEST_HOOKS_FILE_NAME: string; export declare class TestHooksMiddleware { private static _instance?; private testFramework; currentTestHooks: string; static get instance(): TestHooksMiddleware; configureTestFramework(frameworks?: string[]): void; configureCoverageAnalysis(coverageAnalysis: CoverageAnalysis): void; configureMutantRun({ activeMutant, testFilter, hitLimit }: MutantRunOptions): void; private configureHitLimit; private configurePerTestCoverageAnalysis; handler: RequestHandler; } //# sourceMappingURL=test-hooks-middleware.d.ts.map