mirror of
https://github.com/bendtherules/react-fiber-traverse.git
synced 2026-08-18 22:01:49 +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:
@@ -6,7 +6,7 @@ module.exports = {
|
||||
rootDir: process.cwd(),
|
||||
roots: ['<rootDir>/test'],
|
||||
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)'],
|
||||
transform: { '^.+\\.(js|tsx?)$': 'ts-jest' }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user