-
Notifications
You must be signed in to change notification settings - Fork 251
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(jest-runner): support mutation switching (#2350)
Add mutation switching support (new test runner API) for `@stryker-mutator/jest-runner`. * Implement new test runner interface in `@stryker-mutator/jest-runner`. * Add `sandboxFileName` to `RunOptions` and use that in the jest runner to provide the "fileNameUnderTest" * Enable 3 jest e2e tests * Add support for `.tsx` files to `@stryker-mutator/instrumenter`
- Loading branch information
Showing
48 changed files
with
7,518 additions
and
12,593 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,48 @@ | ||
{ | ||
"presets": [ | ||
["es2015", {"modules": false}], | ||
"react" | ||
[ | ||
"@babel/env", | ||
{ | ||
"loose": true, | ||
"shippedProposals": true, | ||
"modules": "commonjs", | ||
"targets": { | ||
"ie": 9 | ||
} | ||
} | ||
], | ||
"@babel/react" | ||
], | ||
"plugins": [ | ||
"transform-object-rest-spread" | ||
"@babel/plugin-proposal-export-default-from", | ||
"@babel/plugin-proposal-export-namespace-from", | ||
"@babel/plugin-transform-runtime", | ||
"@babel/plugin-proposal-object-rest-spread" | ||
], | ||
"env": { | ||
"lib-dir": { | ||
"plugins": ["transform-es2015-modules-commonjs"] | ||
}, | ||
"webpack": { | ||
"plugins": ["transform-es2015-modules-commonjs"] | ||
}, | ||
"test": { | ||
"plugins": ["transform-es2015-modules-commonjs"] | ||
"esm-dir": { | ||
"presets": [ | ||
[ | ||
"@babel/env", | ||
{ | ||
"loose": true, | ||
"shippedProposals": true, | ||
"modules": false, | ||
"targets": { | ||
"ie": 9 | ||
} | ||
} | ||
], | ||
"@babel/react" | ||
], | ||
"plugins": [ | ||
[ | ||
"@babel/plugin-transform-runtime", | ||
{ | ||
"useESModules": true | ||
} | ||
] | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.