UNPKG

@stryker-mutator/jest-runner

Version:

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

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