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
{{ message }}
This repository was archived by the owner on Mar 5, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+2-1
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@
12
12
13
13
-[ ] some DOM events are not working when running all tests at once [#4](https://github.com/bahmutov/cypress-react-unit-test/issues/4)
14
14
-[x] cannot mock server XHR for injected components [#5](https://github.com/bahmutov/cypress-react-unit-test/issues/5)
15
-
-[] cannot spy on `window.alert`[#6](https://github.com/bahmutov/cypress-react-unit-test/issues/6)
15
+
-[x] cannot spy on `window.alert`[#6](https://github.com/bahmutov/cypress-react-unit-test/issues/6)
16
16
17
17
## Install
18
18
@@ -116,6 +116,7 @@ All components are in [src](src) folder. All tests are in [cypress/integration](
116
116
*[stateless-spec.js](cypress/integration/stateless-spec.js) shows testing a stateless component from [stateless.jsx](src/stateless.jsx)
117
117
*[transpiled-spec.js](cypress/integration/stateless-spec.js) shows testing a component with class properties syntax from [transpiled.jsx](src/stateless.jsx)
118
118
*[users-spec.js](cypress/integration/users-spec.js) shows how to observe XHR requests, mock server responses for component [users.jsx](src/users.jsx)
119
+
*[alert-spec.js](cypress/integration/alert-spec.js) shows how to spy on `window.alert` calls from your component [stateless-alert.jsx](src/stateless-alert.jsx)
0 commit comments