Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: cypress-io/code-coverage
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.13.6
Choose a base ref
...
head repository: cypress-io/code-coverage
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on Nov 12, 2024

  1. chore(deps): update dependency webpack to v5.96.1 (#899)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Nov 12, 2024
    Copy the full SHA
    2425c28 View commit details
  2. chore(deps): update dependency markdown-link-check to v3.13.6 (#898)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Nov 12, 2024
    Copy the full SHA
    eabaa8d View commit details
  3. chore(deps): update dependency cypress to v13.15.2 (#897)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Nov 12, 2024
    Copy the full SHA
    e8216d8 View commit details

Commits on Nov 18, 2024

  1. Copy the full SHA
    2631db8 View commit details
  2. Copy the full SHA
    e54ff01 View commit details

Commits on Nov 30, 2024

  1. chore(deps): update dependency cypress to v13.16.0 (#904)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Nov 30, 2024
    Copy the full SHA
    80619ff View commit details
  2. fix(deps): update dependency @types/node to v22.10.1 (#903)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Nov 30, 2024
    Copy the full SHA
    063c8de View commit details

Commits on Dec 7, 2024

  1. chore(deps): update dependency prettier to v3.4.2 (#907)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Dec 7, 2024
    Copy the full SHA
    1030da8 View commit details

Commits on Dec 9, 2024

  1. chore(deps): update dependency webpack to v5.97.1 (#913)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Dec 9, 2024
    Copy the full SHA
    21984b6 View commit details
  2. chore(deps): update dependency express to v4.21.2 (#910)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Dec 9, 2024
    Copy the full SHA
    384883d View commit details
  3. chore(deps): update dependency cypress to v13.16.1 (#909)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Dec 9, 2024
    Copy the full SHA
    f66c3fa View commit details
  4. fix(deps): update react monorepo (#912)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Dec 9, 2024
    Copy the full SHA
    b39f10b View commit details
  5. chore(deps): update node.js to v22.12.0 (#911)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Dec 9, 2024
    Copy the full SHA
    b3adfa7 View commit details

Commits on Jan 7, 2025

  1. chore(deps): update dependency start-server-and-test to v2.0.9 (#914)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jan 7, 2025
    Copy the full SHA
    b971006 View commit details
  2. fix(deps): update dependency @types/node to v22.10.5 (#915)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jan 7, 2025
    Copy the full SHA
    ca77670 View commit details
  3. fix(deps): update react monorepo (#916)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jan 7, 2025
    Copy the full SHA
    b43adc7 View commit details

Commits on Jan 28, 2025

  1. fix(deps): update dependency debug to v4.4.0 (#917)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jan 28, 2025
    Copy the full SHA
    a6a8cd5 View commit details

Commits on Feb 11, 2025

  1. chore(deps): update dependency cypress to v13.17.0 (#922)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Feb 11, 2025
    Copy the full SHA
    39bbb43 View commit details
  2. chore(deps): update dependency start-server-and-test to v2.0.10 (#927)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Feb 11, 2025
    Copy the full SHA
    84da8ca View commit details
  3. chore(deps): update babel monorepo to v7.26.8 (#926)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Feb 11, 2025
    Copy the full SHA
    cd87cc4 View commit details
  4. chore(deps): update node.js to v22.13.1 (#923)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Feb 11, 2025
    Copy the full SHA
    71d9a81 View commit details

Commits on Feb 18, 2025

  1. chore(deps): update dependency win to v5.1.0 (#932)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Feb 18, 2025
    Copy the full SHA
    856bda3 View commit details
  2. chore(deps): update dependency webpack to v5.98.0 (#931)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Feb 18, 2025
    Copy the full SHA
    eca3ba7 View commit details

Commits on Feb 24, 2025

  1. chore(deps): update node.js to v22.14.0 (#934)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Feb 24, 2025
    Copy the full SHA
    672f114 View commit details
  2. fix(deps): update dependency @types/node to v22.13.5 (#935)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Feb 24, 2025
    Copy the full SHA
    2b78406 View commit details

Commits on Mar 25, 2025

  1. feat: add explicit check against codeCoverage.expectFrontendCoverageO…

    …nly before attempting to collect backend coverage (#555)
    
    Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
    Co-authored-by: AtofStryker <bglesias@gmail.com>
    3 people authored Mar 25, 2025
    Copy the full SHA
    48cd348 View commit details

Commits on Mar 28, 2025

  1. chore(deps): update dependency prettier to v3.5.3 (#930)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 28, 2025
    Copy the full SHA
    1311847 View commit details

Commits on Apr 1, 2025

  1. chore(deps): update dependency start-server-and-test to v2.0.11 (#941)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Apr 1, 2025
    Copy the full SHA
    f7c65a9 View commit details
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -3,13 +3,13 @@ version: 2.1
orbs:
# https://github.com/cypress-io/circleci-orb
cypress: cypress-io/cypress@3.0.0 # used to run e2e tests
win: circleci/windows@5.0.0 # run a test job on Windows
win: circleci/windows@5.1.0 # run a test job on Windows

jobs:
lint:
description: Checks the code formatting
docker:
- image: cimg/node:22.8.0
- image: cimg/node:22.14.0
environment:
# we don't need Cypress to check code style
CYPRESS_INSTALL_BINARY: '0'
@@ -71,7 +71,7 @@ jobs:
publish:
description: Publishes the new version of the plugin to NPM
docker:
- image: cimg/node:22.8.0
- image: cimg/node:22.14.0
environment:
# we don't need Cypress to do the release
CYPRESS_INSTALL_BINARY: '0'
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -251,6 +251,21 @@ After:

![Cypress knows to expect the backend code coverage only](./images/expect-backend.png)

### expectFrontendCoverageOnly

If there is ONLY frontend code coverage, set `expectFrontendCoverageOnly: true` in the `cypress.json` file. Otherwise, Cypress complains that it cannot find the frontend code coverage.

```json
{
"env": {
"codeCoverage": {
"url": "http://localhost:3003/__coverage__",
"expectFrontendCoverageOnly": true
}
}
}
```

## Custom report folder

You can specify a custom report folder by adding `nyc` object to the `package.json` file. For example, to save reports to `cypress-coverage` folder, use:
Loading