feathers-chat icon indicating copy to clipboard operation
feathers-chat copied to clipboard

Forward npm test arguments to mocha

Open cirosantilli opened this issue 4 years ago • 0 comments

This commit allows running for example just:

npm test -- -g 'authentication'

instead of the previously needed:

npm test -- -- -- -g 'authentication'

since each npm run consumes one --.

Related: https://stackoverflow.com/questions/40495116/how-to-pass-a-command-line-argument-to-a-nested-script

Maybe this should be done on the generator instead instead of in this repo, not sure.

cirosantilli avatar Apr 04 '21 10:04 cirosantilli