Init with yo typescript-react-lib

This commit is contained in:
2019-07-19 12:49:20 +05:30
commit 0ad6620437
35 changed files with 12942 additions and 0 deletions
+12
View File
@@ -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' }
}