File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 "postinstall" : " npm --prefix ui install && npm --prefix lambdas install && npm --prefix tests install" ,
88
99 "test" : " npm --prefix ui run test && npm --prefix lambdas run test" ,
10- "test:playwright" : " UI_BASE_URL=$(terraform -chdir=local-environment/infra output -raw ui_url) API_BASE_URL=$(terraform -chdir=local-environment/infra output api_base_url) npm --prefix tests run test:chrome" ,
10+ "test:playwright" : " UI_BASE_URL=$(terraform -chdir=local-environment/infra output -raw ui_url) API_BASE_URL=$(terraform -chdir=local-environment/infra output -raw api_base_url) npm --prefix tests run test:chrome" ,
1111
1212 "build:lambdas" : " npm --prefix lambdas run build" ,
1313 "package:lambdas" : " npm --prefix lambdas run package" ,
Original file line number Diff line number Diff line change @@ -35,7 +35,16 @@ interface ConsoleErrorFixture {
3535const defaultOptions : ErrorCaptureOptions = {
3636 failOnConsoleError : true ,
3737 failOnNetworkError : true ,
38- ignorePatterns : [ ] ,
38+ ignorePatterns : [
39+ // Network transient errors
40+ / n e t : : E R R _ N E T W O R K _ C H A N G E D / ,
41+ / n e t : : E R R _ C O N N E C T I O N _ R E S E T / ,
42+ / n e t : : E R R _ I N T E R N E T _ D I S C O N N E C T E D / ,
43+ // External NHS resources not available in test environment
44+ / N H S C o o k i e C o n s e n t i s n o t d e f i n e d / ,
45+ / n h s a p p i s n o t d e f i n e d / ,
46+ / " u n d e f i n e d " i s n o t v a l i d J S O N / ,
47+ ] ,
3948 ignoreStatusCodes : [ ] ,
4049} ;
4150
You can’t perform that action at this time.
0 commit comments