Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Commit

Permalink
fix: 馃悰 headless test not working
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitryEfimenko committed Apr 13, 2020
1 parent 679998c commit d73f689
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@
"commit": "git-cz",
"release:first": "npm run release -- --first-release",
"build:lib": "ng build ngx-errors --prod",
"test:lib": "ng test ngx-errors --code-coverage",
"test:lib": "ng test ngx-errors",
"test:lib:headless": "cross-env CI=true npm run test:lib",
"test:lib:coverage": "npm run test:lib -- --code-coverage",
"postbuild:lib": "copyfiles README.md logo.png dist/ngx-errors",
"release": "cd projects/ngx-errors && standard-version --infile ../../CHANGELOG.md",
"test:lib:headless": "cross-env CI=true npm run test:lib"
"release": "cd projects/ngx-errors && standard-version --infile ../../CHANGELOG.md"
},
"private": true,
"dependencies": {
Expand Down
4 changes: 2 additions & 2 deletions projects/ngx-errors/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ module.exports = function (config) {
colors: true,
logLevel: config.LOG_INFO,
autoWatch: true,
browsers: ['Chrome'],
singleRun: false,
browsers: [process.env.CI ? 'ChromeHeadless' : 'Chrome'],
singleRun: process.env.CI,
restartOnFileChange: true,
});
};

0 comments on commit d73f689

Please sign in to comment.