Skip to content

Commit 4f58da2

Browse files
Readme update for testing. (#930)
* Readme update for testing.
1 parent f0538ef commit 4f58da2

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,17 @@ See the section about [running tests](https://facebook.github.io/create-react-ap
8282
To run the test runner with emulators, use:
8383

8484
```bash
85-
firebase emulators:exec --project sample --only firestore 'npm test'
85+
firebase emulators:exec --project sample 'npm test'
8686

8787
firebase emulators:exec --project sample --only firestore 'npm test AddCollectionDialog.test.tsx'
8888
```
8989

90+
To disable the Jest interactive mode use the flag `watchAll=false` like so:
91+
92+
```bash
93+
firebase emulators:exec --project sample --only firestore 'npm test -- --watchAll=false'
94+
```
95+
9096
If you get port conflict errors, make sure to stop other instances of the Firebase Emulator Suite (e.g. the one you've started for the development server above) and try again.
9197

9298
#### `npm run build`

0 commit comments

Comments
 (0)