File tree Expand file tree Collapse file tree 2 files changed +23
-0
lines changed
Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Original file line number Diff line number Diff line change 1+ module . exports = function ( config ) {
2+ config . set ( {
3+ browsers : [ 'ChromeHeadlessCI' ] ,
4+ frameworks : [ 'jasmine' ] ,
5+ files : [
6+ './src/**/*.spec.ts'
7+ ] ,
8+ customLaunchers : {
9+ ChromeHeadlessCI : {
10+ base : 'ChromeHeadless' ,
11+ flags : [
12+ '--no-sandbox' ,
13+ '--disable-gpu' ,
14+ '--remote-debugging-port=9222'
15+ ]
16+ }
17+ } ,
18+
19+ singleRun : true
20+ } ) ;
21+ } ;
22+
Original file line number Diff line number Diff line change 77 "build" : " ng build" ,
88 "watch" : " ng build --watch --configuration development" ,
99 "test" : " ng test" ,
10+ "test-headless" : " karma start karma.conf.js" ,
1011 "clean-config" : " node clean-backend.js" ,
1112 "inject-backend" : " node set-backend.js" ,
1213 "serve" : " npm run clean-config && npm run inject-backend && ng serve"
You can’t perform that action at this time.
0 commit comments