mocha.el
mocha.el copied to clipboard
Use double-quotes for --fgrep
On Windows single quotes are not working:
node_modules\.bin\mocha --fgrep 'should refill bitgo wallets' main.spec.js
Warning: Could not find any test files matching pattern: refill
Warning: Could not find any test files matching pattern: bitgo
Warning: Could not find any test files matching pattern: wallets'
0 passing (1ms)
Done in 0.75s.
but with double quotes its ok
node_modules\.bin\mocha --fgrep "should refill bitgo wallets" main.spec.js
main
√ should refill bitgo wallets
1 passing (20ms)
Done in 0.78s.
This is related to the mocha-test-at-point
.