diff --git a/.circleci/config.yml b/.circleci/config.yml index a00aca9c..fe8958c5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -467,6 +467,7 @@ workflows: store_artifacts: true post-steps: - run: cat examples/one-spec/.nyc_output/out.json + - run: cat examples/one-spec/coverage/coverage-summary.json # store the created coverage report folder # you can click on it in the CircleCI UI # to see live static HTML site diff --git a/common-utils.js b/common-utils.js index 43037b36..a5711c64 100644 --- a/common-utils.js +++ b/common-utils.js @@ -26,7 +26,7 @@ function combineNycOptions({ const defaultNycOptions = { 'report-dir': './coverage', - reporter: ['lcov', 'clover', 'json'], + reporter: ['lcov', 'clover', 'json', 'json-summary'], extension: ['.js', '.cjs', '.mjs', '.ts', '.tsx', '.jsx'], excludeAfterRemap: false } diff --git a/cypress/integration/combine-spec.js b/cypress/integration/combine-spec.js index 11af7f8d..5b13ac06 100644 --- a/cypress/integration/combine-spec.js +++ b/cypress/integration/combine-spec.js @@ -13,7 +13,7 @@ describe('Combine NYC options', () => { extends: '@istanbuljs/nyc-config-typescript', all: true, 'report-dir': './coverage', - reporter: ['lcov', 'clover', 'json'], + reporter: ['lcov', 'clover', 'json', 'json-summary'], extension: ['.js', '.cjs', '.mjs', '.ts', '.tsx', '.jsx'], excludeAfterRemap: false })