My package.json
looks like this:
"scripts": {
"test": "firebase emulators:exec --only firestore --project sample 'jest --runInBand'",
}
Is it possible to run npm test -- --watch
?
If I do as it is now, I got:
npm test -- --watch
> functions@ test /home/ubuntu/workspace/blinktrade/otc/firebase/functions
> firebase emulators:exec --only firestore --project sample 'jest --runInBand' "--watch"
error: unknown option '--watch'
npm ERR! Test failed. See above for more details.
Is there any workaround besides adding a new entry to scripts
?