Skip to content

Commit

Permalink
fix(tests): Re-enable coverage tracking from Cypress (#503)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienjoly committed Dec 10, 2021
1 parent 8773a4f commit 74b9607
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Expand Up @@ -236,7 +236,7 @@ jobs:
run: |
mkdir .nyc_output
mkdir coverage-reports
# cp coverage-cypress/.nyc_output/*.json coverage-reports
cp coverage-cypress/.nyc_output/*.json coverage-reports
cp coverage-approval/.nyc_output/*.json coverage-reports
npx nyc merge coverage-reports .nyc_output/merged-coverage.json
npx nyc report --reporter=lcov --reporter=text # stores the coverage report in coverage/lcov.info
Expand Down
2 changes: 1 addition & 1 deletion cypress/plugins/index.ts
@@ -1,7 +1,7 @@
/* eslint-disable @typescript-eslint/no-var-requires */

module.exports = (on, config) => {
// require('@cypress/code-coverage/task')(on, config);
require('@cypress/code-coverage/task')(on, config);
require('cypress-log-to-output').install(on); // note: only works with Chrome

// add other tasks to be registered here
Expand Down

0 comments on commit 74b9607

Please sign in to comment.