Skip to content

Commit 0992369

Browse files
authored
docs(contributing): add cypress npm scripts description (#50)
1 parent 40b1cc8 commit 0992369

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

CONTRIBUTING.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
- [`test:watch`](#testwatch)
1616
- [`test:coverage`](#testcoverage)
1717
- [`test`](#test)
18+
- [`test:e2e:cli`](#teste2ecli)
19+
- [`test:e2e:gui`](#teste2egui)
1820
- [`analyze:bundle`](#analyzebundle)
1921
- [File Structure](#file-structure)
2022

@@ -88,6 +90,14 @@ Automatically will check whether is in CI env.
8890

8991
**This step is included in CI.**
9092

93+
#### `test:e2e:cli`
94+
95+
Triggers a Cypress run of all specs.
96+
97+
#### `test:e2e:gui`
98+
99+
Launches Cypress GUI where specific specs can be triggered.
100+
91101
#### `analyze:bundle`
92102

93103
Runs [`source-map-explorer`](https://github.com/danvk/source-map-explorer) over built library.
@@ -97,7 +107,9 @@ The script is run in **production** mode.
97107
### File Structure
98108

99109
```
110+
cypress/ # E2E tests setup & specs
100111
config/ # Config files
101112
examples/ # Source files for interactive CodeSandbox demos
102-
src # Library core
113+
scripts/ # Custom scripts for releasing, etc.
114+
src/ # Library core
103115
```

0 commit comments

Comments
 (0)