I have a test script in my package.json that looks like this
"scripts": {
"test": "mocha --timeout 4000 "
}
I am trying to send additional arguments from the command line(on windows) but it seems not to get them
I tried
npm test --key mykey
npm test --key=mykey
npm run test --key mykey
but none of the above worked. my test scripts need to get this argument. anyone know how it can be done? (putting this argument in the package.json is not an option)