UNPKG

@stryker-mutator/jest-runner

Version:

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

7 lines (6 loc) 247 B
const instrumenterContext = global[global.__strykerGlobalNamespace__] ?? (global[global.__strykerGlobalNamespace__] = {}); global.jasmine.getEnv().addReporter({ specStarted(spec) { instrumenterContext.currentTestId = spec.fullName; }, });