diff --git a/README.md b/README.md index 55d480e27..4afe57aa1 100644 --- a/README.md +++ b/README.md @@ -82,11 +82,17 @@ See the section about [running tests](https://facebook.github.io/create-react-ap To run the test runner with emulators, use: ```bash -firebase emulators:exec --project sample --only firestore 'npm test' +firebase emulators:exec --project sample 'npm test' firebase emulators:exec --project sample --only firestore 'npm test AddCollectionDialog.test.tsx' ``` +To disable the Jest interactive mode use the flag `watchAll=false` like so: + +```bash +firebase emulators:exec --project sample --only firestore 'npm test -- --watchAll=false' +``` + 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. #### `npm run build`