File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -21,8 +21,10 @@ const app = new Application({
21
21
args : [ appArg ] ,
22
22
chromeDriverArgs : [ '--no-proxy-server' ] ,
23
23
env : {
24
- 'NO_PROXY' : '127.0.0.1,localhost'
25
- }
24
+ 'NO_PROXY' : '127.0.0.1,localhost' ,
25
+ 'NODE_ENV' : 'test'
26
+ } ,
27
+ waitTimeout : 10e3
26
28
} )
27
29
28
30
console . log ( app ) ;
@@ -37,10 +39,9 @@ console.log(app);
37
39
38
40
describe ( 'Testing componentReducer functionality' , ( ) => {
39
41
let state = initialState ;
40
-
41
42
42
- beforeAll ( async ( ) => {
43
- return await app . start ( ) ;
43
+ beforeAll ( ( ) => {
44
+ return app . start ( ) ;
44
45
} )
45
46
46
47
afterAll ( ( ) => {
Original file line number Diff line number Diff line change 85
85
" js"
86
86
],
87
87
"transform" : {
88
- "\\ .(ts|tsx)$" : " <rootDir>/node_modules/ts-jest"
88
+ "\\ .(ts|tsx)$" : " <rootDir>/node_modules/ts-jest" ,
89
+ "^.+\\ .js?$" : " babel-jest"
89
90
},
91
+ "transformIgnorePatterns" : [" <rootDir>/node_modules" ],
90
92
"testRegex" : " /__tests__/.*\\ .(ts|tsx|js)$" ,
91
93
"globals" : {
92
94
"ts-jest" : {
You can’t perform that action at this time.
0 commit comments