Skip to content

Commit 5cb167b

Browse files
authored
Merge pull request #255 from mattxwang/update-jest-supported-keys
Updates jest `supportedKeys` with more options
2 parents b216589 + acacf8b commit 5cb167b

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

scripts/config/createJestConfig.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,17 +43,22 @@ module.exports = (resolve, rootDir) => {
4343
}
4444
const overrides = Object.assign({}, require(paths.appPackageJson).jest);
4545
const supportedKeys = [
46+
"clearMocks",
4647
"collectCoverageFrom",
48+
"coveragePathIgnorePatterns",
4749
"coverageReporters",
4850
"coverageThreshold",
51+
"displayName",
4952
"extraGlobals",
5053
"globalSetup",
5154
"globalTeardown",
5255
"reporters",
5356
"resetMocks",
5457
"resetModules",
58+
"restoreMocks",
5559
"setupFilesAfterEnv",
5660
"snapshotSerializers",
61+
"testMatch",
5762
"testResultsProcessor",
5863
"transform",
5964
"transformIgnorePatterns",

0 commit comments

Comments
 (0)