mirror of
https://github.com/bendtherules/react-fiber-traverse.git
synced 2026-08-18 13:52:36 +00:00
Init with yo typescript-react-lib
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
module.exports = {
|
||||
collectCoverage: true,
|
||||
collectCoverageFrom: ['src/*.{ts,tsx}'],
|
||||
moduleFileExtensions: ['ts', 'tsx', 'js', 'json'],
|
||||
preset: 'ts-jest',
|
||||
rootDir: process.cwd(),
|
||||
roots: ['<rootDir>/test'],
|
||||
setupFiles: ['<rootDir>/scripts/jest/setupEnvironment.ts'],
|
||||
setupFilesAfterEnv: ['<rootDir>/scripts/jest/setupJest.ts'],
|
||||
testMatch: ['<rootDir>/test/*.spec.ts?(x)'],
|
||||
transform: { '^.+\\.(js|tsx?)$': 'ts-jest' }
|
||||
}
|
||||
Reference in New Issue
Block a user