-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Closed
Labels
Bugthing that needs fixingthing that needs fixingNeeds Triageneeds review for next stepsneeds review for next stepsRelease 7.xwork is associated with a specific npm 7 releasework is associated with a specific npm 7 release
Description
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
andwatchAll=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.
Metadata
Metadata
Assignees
Labels
Bugthing that needs fixingthing that needs fixingNeeds Triageneeds review for next stepsneeds review for next stepsRelease 7.xwork is associated with a specific npm 7 releasework is associated with a specific npm 7 release