This repository was archived by the owner on May 3, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 13
13
"commit" : " git-cz" ,
14
14
"release:first" : " npm run release -- --first-release" ,
15
15
"build:lib" : " ng build ngx-errors --prod" ,
16
- "test:lib" : " ng test ngx-errors --code-coverage" ,
16
+ "test:lib" : " ng test ngx-errors" ,
17
+ "test:lib:headless" : " cross-env CI=true npm run test:lib" ,
18
+ "test:lib:coverage" : " npm run test:lib -- --code-coverage" ,
17
19
"postbuild:lib" : " copyfiles README.md logo.png dist/ngx-errors" ,
18
- "release" : " cd projects/ngx-errors && standard-version --infile ../../CHANGELOG.md" ,
19
- "test:lib:headless" : " cross-env CI=true npm run test:lib"
20
+ "release" : " cd projects/ngx-errors && standard-version --infile ../../CHANGELOG.md"
20
21
},
21
22
"private" : true ,
22
23
"dependencies" : {
Original file line number Diff line number Diff line change @@ -26,8 +26,8 @@ module.exports = function (config) {
26
26
colors : true ,
27
27
logLevel : config . LOG_INFO ,
28
28
autoWatch : true ,
29
- browsers : [ 'Chrome' ] ,
30
- singleRun : false ,
29
+ browsers : [ process . env . CI ? 'ChromeHeadless' : 'Chrome' ] ,
30
+ singleRun : process . env . CI ,
31
31
restartOnFileChange : true ,
32
32
} ) ;
33
33
} ;
You can’t perform that action at this time.
0 commit comments