Revert "feat!: read code coverage config from Cypress.expose instead of Cypress.env" #976
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Reverts #972
The commit message needs to be updated in order to trigger semantic-release
Note
Medium Risk
Changes the public configuration mechanism back to
env, which can break users relying on the newerexposebehavior, and also modifies CI/runtime versions (Node/Cypress base images) that may surface environment-specific failures.Overview
Reverts the plugin’s configuration surface from
Cypress.exposeback toCypress.env/env.codeCoverage(docs, example configs likecypress-backend.json, and middleware usage comments updated accordingly).Migrates several TypeScript helper/middleware modules to CommonJS JavaScript (
common-utils.js,middleware/*) and removes the old TS entrypoints (lib/*), while adding a Cypress project (cypress.config.js,cypress/e2e specs) to test option combining, spec/support filtering, and coverage merging/placeholder handling.Updates CircleCI to restructure test execution: adds a dedicated plugin test job, runs example test-apps via a matrix job, downgrades Cypress Docker base images/Orb version, and adjusts the Windows job to Node 20.
Written by Cursor Bugbot for commit 54f4c50. This will update automatically on new commits. Configure here.