File tree 2 files changed +3
-16
lines changed
2 files changed +3
-16
lines changed Original file line number Diff line number Diff line change 1
- const esModules : string [ ] = [
2
- 'jest' ,
3
- 'react-native' ,
4
- '@react-native' ,
5
- ] ;
6
-
7
- module . exports = {
8
- preset : 'react-native' ,
1
+ export default {
9
2
transform : {
10
3
'^.+\\.jsx$' : 'babel-jest' ,
11
4
'^.+\\.tsx?$' : 'ts-jest' ,
12
5
} ,
13
- transformIgnorePatterns : [ `node_modules/(?!${ esModules . join ( '|' ) } )` ] ,
14
- cacheDirectory : './dist/jest/cache' ,
15
6
coverageDirectory : './dist/jest/coverage' ,
16
- testPathIgnorePatterns : [
17
- '<rootDir>/node_modules' ,
18
- '<rootDir>/dist' ,
19
- ] ,
20
7
} ;
Original file line number Diff line number Diff line change 22
22
"include" : [
23
23
" ./lib/**/*.ts" ,
24
24
" ./lib/**/*.tsx" ,
25
- " ./lib/**/*.json" ,
25
+ " ./lib/**/*.json"
26
26
],
27
27
"exclude" : [
28
28
" ./node_modules" ,
29
29
" ./babel.config.js" ,
30
- " ./jest.config.ts" ,
30
+ " ./jest.config.ts"
31
31
]
32
32
}
You can’t perform that action at this time.
0 commit comments