Current Behavior:
Attempting to run this command against create-react-app npm run test -- --coverage --watchAll=false
When npm registers and begins the execution, it states that it is running react-scripts test with neither flag
Expected Behavior:
I should be getting react-scripts test "--coverage" "--watchAll=false"
Steps To Reproduce:
- npx create-react-app test
- cd to new project
- run
npm run test -- --coverage --watchAll=false
coverage and watchAll=false should both be passed to the test execution
Environment:
- OS: Windows 10 19042.608
- Node: 15.3.0
- npm: 7.1.2
Note
I can add "test:coverage": "react-scripts test --coverage --watchAll=false" to package.json and it works with no issue.
Current Behavior:
Attempting to run this command against create-react-app
npm run test -- --coverage --watchAll=falseWhen npm registers and begins the execution, it states that it is running
react-scripts testwith neither flagExpected Behavior:
I should be getting
react-scripts test "--coverage" "--watchAll=false"Steps To Reproduce:
npm run test -- --coverage --watchAll=falsecoverageandwatchAll=falseshould both be passed to the test executionEnvironment:
Note
I can add
"test:coverage": "react-scripts test --coverage --watchAll=false"to package.json and it works with no issue.