-
Notifications
You must be signed in to change notification settings - Fork 27
Description
When I tried 'yarn test' first time, I got error:
$ NODE_ENV=test istanbul --include-all-sources cover _mocha -- -u bdd $(find test -name '*.js') && istanbul check-coverage && echo All tests passed �
'NODE_ENV' is not recognized as an internal or external command,
operable program or batch file.
I then copied the 'test' script and create a test:win script:
"test:win": "SET NODE_ENV=test istanbul --include-all-sources cover _mocha -- -u bdd $(find test -name '*.js') && istanbul check-coverage && echo All tests passed 👍",
I ran 'yarn test:win', I got the istanbul's error:
yarn test:win
yarn run v1.2.1
$ SET NODE_ENV=test istanbul --include-all-sources cover _mocha -- -u bdd $(find test -name '*.js') && istanbul check-coverage && echo All tests passed �
ERROR: No coverage files found.
Try "istanbul help" for usage
Do I need to manually create a coverage file or am I missing any dependencies?
Thanks