Skip to content

Commit

Permalink
chore: downgrade karma & update playwright
Browse files Browse the repository at this point in the history
  • Loading branch information
smalluban committed Feb 7, 2024
1 parent cbfec99 commit 82b4763
Show file tree
Hide file tree
Showing 5 changed files with 515 additions and 206 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@ jobs:
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
file: "./coverage/lcov/lcov.info"
8 changes: 4 additions & 4 deletions karma.conf.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module.exports = (config) => {
reporters: ["dots"].concat(IS_COVERAGE ? ["coverage"] : []),
browsers: IS_COVERAGE
? ["ChromeHeadless"]
: ["ChromeHeadless", "FirefoxHeadless", "WebkitHeadless"],
: ["WebkitHeadless", "ChromeHeadless", "FirefoxHeadless"],
client: {
captureConsole: false,
jasmine: {
Expand All @@ -30,13 +30,13 @@ module.exports = (config) => {
coverageReporter: {
dir: "coverage/",
reporters: [
{ type: "html", subdir: "." },
{ type: "lcovonly", subdir: ".", file: "lcov.info" },
{ type: "html", subdir: "html" },
{ type: "lcovonly", subdir: "lcov", file: "lcov.info" },
],
},
autoWatch: true,
singleRun: true,
concurrency: 1,
concurrency: Infinity,
port: 9876 + Number(IS_COVERAGE),
});
};
Loading

0 comments on commit 82b4763

Please sign in to comment.