code-coverage
code-coverage copied to clipboard
feat: add explicit check against codeCoverage.expectFrontendCoverageOnly before attempting to collect backend coverage
This is an updated PR taken from @funkadelic https://github.com/cypress-io/code-coverage/pull/474 updated to try to make the tests pass and make it easier for the plugin team to istruct us on how to proceed.
As @funkadelic mentioned on his PR this PR aims at solving https://github.com/cypress-io/code-coverage/issues/473