Skip to content

Commit

Permalink
add cypress-fail-on-network-requests hint
Browse files Browse the repository at this point in the history
  • Loading branch information
nils-hoyer committed Oct 20, 2022
1 parent 331ad2f commit e5dac71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# cypress-fail-on-console-error

This Plugin observes `console.error()` function from [window object](https://developer.mozilla.org/de/docs/Web/API/Window). Cypress test will fail when the error function gets executed.
This Plugin observes `console.error()` function from [window object](https://developer.mozilla.org/de/docs/Web/API/Window). Cypress test will fail when the error function gets executed. For observing network errors please check out [cypress-fail-on-network-requests](https://www.npmjs.com/package/cypress-fail-on-network-request).

### Installation

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cypress-fail-on-console-error",
"version": "4.0.1",
"version": "4.0.2",
"description": "fail cypress test on console error",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down

0 comments on commit e5dac71

Please sign in to comment.