File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ // frontend/karma.conf.js
2+ /** @type {import('karma').Config } */
3+ module . exports = function ( config ) {
4+ config . set ( {
5+ browsers : [ process . env . CI ? 'ChromeHeadlessNoSandbox' : 'Chrome' ] ,
6+ customLaunchers : {
7+ ChromeHeadlessNoSandbox : {
8+ base : 'ChromeHeadless' ,
9+ flags : [
10+ '--no-sandbox' ,
11+ '--disable-gpu' ,
12+ '--disable-dev-shm-usage' ,
13+ '--disable-setuid-sandbox' ,
14+ '--remote-debugging-port=9222'
15+ ]
16+ }
17+ } ,
18+ } ) ;
19+ } ;
Original file line number Diff line number Diff line change 1616 "build:pages:ssg" : " ng build --configuration production --base-href=/ && ng run frontend:prerender" ,
1717 "deploy:pages" : " pnpm run build:pages && pnpm dlx angular-cli-ghpages --dir=dist/frontend/browser --branch=gh-pages --message=\" deploy: pages (spa)\" " ,
1818 "deploy:pages:ssg" : " pnpm run build:pages:ssg && pnpm dlx angular-cli-ghpages --dir=dist/frontend --branch=gh-pages --message=\" deploy: pages (ssg)\" " ,
19- "test:ci" : " ng test --watch=false --browsers=ChromeHeadless --progress=false"
19+ "test:ci" : " ng test --watch=false --browsers=ChromeHeadlessNoSandbox --progress=false"
2020 },
2121 "private" : true ,
2222 "dependencies" : {
You can’t perform that action at this time.
0 commit comments