Skip to content

Being able to send mocha options to test runner script [API-1599] #814

@srknzl

Description

@srknzl

Things get complicated when we want to pass several arguments to mocha. Right now we can pass a pattern to test script like this:
npm run test pattern

This sets -g option of mocha behind the scenes. We cannot give any other option right now.

It would be better to be able give mocha options like this:

npm run test -g pattern -b

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions