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: examples/sass-and-ts/README.md
+20-2Lines changed: 20 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,16 +4,34 @@
4
4
5
5

6
6
7
-
Note: run `npm install` in this folder to symlink the `cypress-react-unit-test` dependency.
7
+
## Usage
8
8
9
+
1. Make sure the root project has been built .
10
+
11
+
```bash
12
+
# in the root of the project
13
+
npm install
14
+
npm run build
9
15
```
16
+
17
+
2. Run `npm install` in this folder to symlink the `cypress-react-unit-test` dependency.
18
+
19
+
```bash
20
+
# in this folder
10
21
npm install
22
+
```
23
+
24
+
3. Start Cypress
25
+
26
+
```bash
11
27
npm run cy:open
12
28
# or just run headless tests
13
29
npm test
14
30
```
15
31
16
-
Note that Node Sass is a binary dependency, thus we need to run it using the same system version of Node as we installed. See [cypress.json](cypress.json) file.
32
+
## Notes
33
+
34
+
Notice that Node Sass is a binary dependency, thus we need to run it using the same system version of Node as we installed. See [cypress.json](cypress.json) file.
0 commit comments