mirror of
https://github.com/bendtherules/react-fiber-traverse.git
synced 2026-08-18 13:52:36 +00:00
Add 'jest-plugin-must-assert' package
This will make sure that all jest test cases calls atleast one asset
This commit is contained in:
Generated
+2419
-2419
File diff suppressed because it is too large
Load Diff
@@ -86,6 +86,7 @@
|
|||||||
"eslint-plugin-react": "7.14.2",
|
"eslint-plugin-react": "7.14.2",
|
||||||
"eslint-plugin-react-hooks": "1.6.1",
|
"eslint-plugin-react-hooks": "1.6.1",
|
||||||
"jest": "24.8.0",
|
"jest": "24.8.0",
|
||||||
|
"jest-plugin-must-assert": "^1.4.1",
|
||||||
"jest-prettyhtml-matchers": "1.0.22",
|
"jest-prettyhtml-matchers": "1.0.22",
|
||||||
"npm-run-all": "4.1.5",
|
"npm-run-all": "4.1.5",
|
||||||
"prettier": "1.18.2",
|
"prettier": "1.18.2",
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ module.exports = {
|
|||||||
rootDir: process.cwd(),
|
rootDir: process.cwd(),
|
||||||
roots: ['<rootDir>/test'],
|
roots: ['<rootDir>/test'],
|
||||||
setupFiles: ['<rootDir>/scripts/jest/setupEnvironment.ts'],
|
setupFiles: ['<rootDir>/scripts/jest/setupEnvironment.ts'],
|
||||||
setupFilesAfterEnv: ['<rootDir>/scripts/jest/setupJest.ts'],
|
setupFilesAfterEnv: ['<rootDir>/scripts/jest/setupJest.ts', 'jest-plugin-must-assert'],
|
||||||
testMatch: ['<rootDir>/test/*.spec.ts?(x)'],
|
testMatch: ['<rootDir>/test/*.spec.ts?(x)'],
|
||||||
transform: { '^.+\\.(js|tsx?)$': 'ts-jest' }
|
transform: { '^.+\\.(js|tsx?)$': 'ts-jest' }
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user