File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 55 "scripts" : {
66 "pretest" : " ./scripts/build-image.sh" ,
77 "test" : " npm run lint && npm run build && npm run test:unit && npm run test:integration" ,
8- "test:unit" : " tap test/unit -R spec" ,
8+ "test:unit" : " NODE_ENV=test tap test/unit -R spec" ,
99 "test:integration" : " TEST_PLATFORM=kind CREATE_CLUSTER=true tap test/integration/kubernetes.test.ts -R spec --timeout=1200" ,
1010 "test:integration:kind" : " TEST_PLATFORM=kind CREATE_CLUSTER=true tap test/integration/kubernetes.test.ts -R spec --timeout=1200" ,
1111 "test:integration:eks" : " TEST_PLATFORM=eks CREATE_CLUSTER=false tap test/integration/kubernetes.test.ts -R spec --timeout=1200" ,
Original file line number Diff line number Diff line change @@ -12,4 +12,8 @@ const logger: bunyan = bunyan.createLogger({
1212 } ,
1313} ) ;
1414
15+ if ( process . env . NODE_ENV === 'test' ) {
16+ logger . level ( bunyan . FATAL + 1 ) ;
17+ }
18+
1519export = logger ;
You can’t perform that action at this time.
0 commit comments