Skip to content

Commit 623b69b

Browse files
Develop (#2246)
Develop Co-authored-by: Tim Deschryver <28659384+timdeschryver@users.noreply.github.com>
2 parents 76b0d17 + 09ea825 commit 623b69b

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

source/guides/guides/module-api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Option | Type | Description
2121
`browser` | *string* | Specify different browser to run tests in, either by name or by filesystem path
2222
`ciBuildId` | *string* | Specify a unique identifier for a run to enable {% url "grouping" parallelization#Grouping-test-runs %} or {% url "parallelization" parallelization %}
2323
`config` | *object* | Specify {% url "configuration" configuration %}
24-
`configFile` | *string | boolean* | Path to the config file to be used. If `false` is passed, no config file will be used.
24+
`configFile` | *string / boolean* | Path to the config file to be used. If `false` is passed, no config file will be used.
2525
`env` | *object* | Specify {% url "environment variables" environment-variables %}
2626
`group` | *string* | {% url "Group" parallelization#Grouping-test-runs %} recorded tests together under a single run
2727
`headed` | *boolean* | Display the Electron browser instead of running headlessly
@@ -121,7 +121,7 @@ Option | Type | Description
121121
------ | ---- | ---------
122122
`browser` | *string* | Specify a filesystem path to a custom browser
123123
`config` | *object* | Specify {% url "configuration" configuration %}
124-
`configFile` | *string | boolean* | Path to the config file to be used. If `false` is passed, no config file will be used.
124+
`configFile` | *string / boolean* | Path to the config file to be used. If `false` is passed, no config file will be used.
125125
`detached` | *boolean* | Open Cypress in detached mode
126126
`env` | *object* | Specify {% url "environment variables" environment-variables %}
127127
`global` | *boolean* | Run in global mode

source/guides/tooling/code-coverage.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,10 @@ You can find full examples showing different code coverage setups in the followi
443443
- {% url 'bahmutov/code-coverage-vue-example' https://github.com/bahmutov/code-coverage-vue-example %} collects code coverage for Vue.js single file components.
444444
- {% url 'lluia/cypress-typescript-coverage-example' https://github.com/lluia/cypress-typescript-coverage-example %} shows coverage for React App that uses TypeScript.
445445
- {% url 'bahmutov/cypress-and-jest' https://github.com/bahmutov/cypress-and-jest %} shows how to run Jest unit tests and Cypress unit tests, collecting code coverage from both test runners, and then produce merged report.
446+
- {% url 'rootstrap/react-redux-base' https://github.com/rootstrap/react-redux-base %} shows an example with a realistic webpack config. Instruments the source code using `babel-plugin-istanbul` during tests.
447+
- {% url 'skylock/cypress-angular-coverage-example' https://github.com/skylock/cypress-angular-coverage-example %} shows Angular 8 + TypeScript application with instrumentation done using `ngx-build-plus`.
448+
- {% url 'bahmutov/testing-react' https://github.com/bahmutov/testing-react %} shows how to get code coverage for a React application created using `CRA v3` without ejecting `react-scripts`.
449+
- {% url 'bahmutov/next-and-cypress-example' https://github.com/bahmutov/next-and-cypress-example %} shows how to get back end and front end coverage for a Next.js project. `middleware/nextjs.js`.
446450

447451
# See also
448452

0 commit comments

Comments
 (0)