Skip to content
This repository was archived by the owner on Mar 5, 2022. It is now read-only.

Commit 54a341f

Browse files
Revilotombahmutov
andauthored
Updated the readme for the sass-and-ts example (#299)
Co-authored-by: Gleb Bahmutov <gleb.bahmutov@gmail.com>
1 parent 8080852 commit 54a341f

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

examples/sass-and-ts/README.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,34 @@
44
55
![Sass test](images/sass.png)
66

7-
Note: run `npm install` in this folder to symlink the `cypress-react-unit-test` dependency.
7+
## Usage
88

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
915
```
16+
17+
2. Run `npm install` in this folder to symlink the `cypress-react-unit-test` dependency.
18+
19+
```bash
20+
# in this folder
1021
npm install
22+
```
23+
24+
3. Start Cypress
25+
26+
```bash
1127
npm run cy:open
1228
# or just run headless tests
1329
npm test
1430
```
1531

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.
1735

1836
```json
1937
{

0 commit comments

Comments
 (0)