Skip to content

Commit 1bf66bd

Browse files
authored
Merge branch 'master' into beta
2 parents 04fd5a6 + 5cb167b commit 1bf66bd

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@
8989
"reflect-metadata": "^0.1.13",
9090
"serverless": "^2.37.1"
9191
},
92+
"peerDependencies": {
93+
"serverless": "1 || 2"
94+
},
9295
"lint-staged": {
9396
"*.{js,css,json,md}": [
9497
"prettier --write",

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)