Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Patch of stryker

stryker-mutator/stryker-js#1983

file: jest-runner/src/jestTestAdapters/JestPromiseTestAdapter.js

line 5:

- const jest_1 = tslib_1.__importDefault(require("jest"));
+ const jest_1 = tslib_1.__importStar(require("jest"))

line 17:

- return jest_1.default.runCLI(Object.assign(Object.assign({}, (fileNameUnderTest && { _: [fileNameUnderTest], findRelatedTests: true })), { config, runInBand: true, silent: true }), [projectRoot]);
+  return jest_1.runCLI(Object.assign(Object.assign({}, (fileNameUnderTest && { _: [fileNameUnderTest], findRelatedTests: true })), { config, runInBand: true, silent: true }), [projectRoot]);

How to run tests

npm run mutation

About

Sample of mutation tests

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages