You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15
Original file line number
Diff line number
Diff line change
@@ -251,6 +251,21 @@ After:
251
251
252
252

253
253
254
+
### expectFrontendCoverageOnly
255
+
256
+
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.
257
+
258
+
```json
259
+
{
260
+
"env": {
261
+
"codeCoverage": {
262
+
"url": "http://localhost:3003/__coverage__",
263
+
"expectFrontendCoverageOnly": true
264
+
}
265
+
}
266
+
}
267
+
```
268
+
254
269
## Custom report folder
255
270
256
271
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:
0 commit comments