File tree Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change 1+ module . exports = function ( config ) {
2+ config . set ( {
3+ // ... autres configs
4+ browsers : [ 'Chrome' , 'ChromeHeadless' ] ,
5+ customLaunchers : {
6+ ChromeHeadless : {
7+ base : 'Chrome' ,
8+ flags : [
9+ '--headless' ,
10+ '--disable-gpu' ,
11+ '--no-sandbox' ,
12+ '--disable-dev-shm-usage'
13+ ]
14+ }
15+ }
16+ } ) ;
17+ } ;
Original file line number Diff line number Diff line change 88 "build" : " ng build" ,
99 "watch" : " ng build --watch --configuration development" ,
1010 "test" : " ng test" ,
11- "test:headless" : " ng test --watch=false --browsers=ChromeHeadless --no-sandbox" ,
11+ "test:headless2" : " ng test --watch=false --browsers=ChromeHeadless --no-sandbox" ,
12+ "test:headless" : " ng test --watch=false --browsers=ChromeHeadless" ,
1213 "coverage" : " ng test --no-watch --code-coverage" ,
1314 "lint" : " ng lint" ,
1415 "serve" : " node dist/angular-starter/server/server.mjs" ,
You can’t perform that action at this time.
0 commit comments