mocha.el icon indicating copy to clipboard operation
mocha.el copied to clipboard

Use double-quotes for --fgrep

Open Eoksni opened this issue 6 years ago • 0 comments

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.

Eoksni avatar Mar 26 '18 18:03 Eoksni