You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browser type and version: Chrome Version 71.0.3578.98 (Official Build) (64-bit)
OS type and version: MacOS X Mojave 10.14.2
Node version: 6.5.0
Any error messages that may be in the console where you ran npm start: None
Any error messages in the JS console: None
Describe the bug
When trying to run specific module tests, it is running all test suites instead.
To Reproduce
Steps to reproduce the behavior:
Go to the root directory of the project.
Run: npm test dealer
Note the output which says:
./node_modules/.bin/jest --no-cache --watch $2
Note that all test suites ran:
Test Suites: 1 failed, 2 passed, 3 total
Tests: 8 failed, 24 passed, 32 total
Snapshots: 0 total
Time: 2.083s
Ran all test suites related to changed files.
Expected behavior
When running for a specific suite, it should obviously only run that suite. You can hack this by giving a dummy 1st argument to the "test" command: npm test fjksdlfjds dealer
This results in only the dealer suite being ran:
Screenshots (optional)
Screenshot of all tests being run:
Additional context
See this issue which talks about the same thing near the bottom. I think the issue was closed addressing only the initial problem. Also see this possibly related issue.
System Information
Describe the bug
When trying to run specific module tests, it is running all test suites instead.
To Reproduce
Steps to reproduce the behavior:
npm test dealer
When running for a specific suite, it should obviously only run that suite. You can hack this by giving a dummy 1st argument to the "test" command:
npm test fjksdlfjds dealer
This results in only the dealer suite being ran:
Screenshots (optional)
Screenshot of all tests being run:
Additional context
See this issue which talks about the same thing near the bottom. I think the issue was closed addressing only the initial problem. Also see this possibly related issue.
Perhaps the $2 argument in scripts/test/index.sh is supposed to be $1?
The text was updated successfully, but these errors were encountered: