Skip to content

Commit 7293e69

Browse files
Annoshatrentmpichlermarc
authored
Added custom test instructions for browser-specific tests (#5056)
Co-authored-by: Trent Mick <[email protected]> Co-authored-by: Marc Pichler <[email protected]>
1 parent 6be903a commit 7293e69

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

CONTRIBUTING.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,16 @@ To run the unit tests continuously in watch mode while developing, use:
223223
npm run tdd
224224
```
225225

226+
Packages that are expected to run in the browser have browser specific tests:
227+
228+
```sh
229+
# Run browser-specific test
230+
npm run test:browser
231+
232+
# Run web worker test
233+
npm run test:webworker
234+
```
235+
226236
### Linting
227237

228238
This project uses `eslint` to lint source code. Just like tests and compilation, linting can be done for all packages or only a single package.

0 commit comments

Comments
 (0)