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
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -125,21 +125,22 @@ This project uses both Cypress and Jest for testing.
125
125
126
126
To run all jest tests for files you have changed, run
127
127
```
128
-
yarn test
128
+
yarn jest
129
129
```
130
130
131
131
or if you want to run tests on changes, in a constant loop
132
132
133
133
```
134
-
yarn test-watch
134
+
yarn jest-watch
135
135
```
136
136
137
137
and press `a`
138
138
139
139
### Cypress
140
140
Cypress is an desktop application that runs on your computer. Cypress is already installed on this project, but your machine will need to meet certain [system requirements](https://docs.cypress.io/guides/getting-started/installing-cypress#System-requirements) to run the Cypress application.
141
141
142
-
If you meet the requirements in the Cypress docs, you can run the `yarn run cypress open` command to start Cypress. from the Cypress desktop app, you will be able to create and run tests.
142
+
If you meet the requirements in the Cypress docs, you can run either of the cypress scripts in package.json; one runs in the cli and the other in a browser window. From the Cypress desktop app, you will be able to create and run tests.
143
+
143
144
144
145
There are 2 types of Cypress tests, e2e & component.
0 commit comments