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
anything else that you think might be relevant? [fill]
Operating system: Edition
Windows 10 Pro
Version 22H2
Installed on 8/16/2022
OS build 19045.3448
Experience Windows Feature Experience Pack 1000.19044.1000.0
Prerequisite
are you able to run jest test from the command line? yes
how do you run your tests from the command line? (for example: npm run test or node_modules/.bin/jest) npm run test (test script is "test": "react-scripts test --env=jsdom"
Steps to Reproduce
When running all tests in the project with Run Test (either from menu or green play button), the command generated is:
Note the file name has extraneous backslashes inside the name of the file and all the backslashes are escaped unlike the paths in the Debug mode (which works as expected).
Relevant Debug Info
Here is the output:
No tests found, exiting with code 1
Run with --passWithNoTests to exit with code 0
In C:\git\Banana\application\banana-web-frontend
719 files checked.
testMatch: C:/git/Banana/application/banana-web-frontend/src//tests//.{js,jsx,ts,tsx}, C:/git/Banana/application/banana-web-frontend/src/**/.{spec,test}.{js,jsx,ts,tsx} - 303 matches
testPathIgnorePatterns: \node_modules\ - 719 matches
testRegex: - 0 matches
Pattern: c:\\git\\Banana\\application\\banana-web-frontend\\src\\test\\util\\permissionUtil\.test\.ts - 0 matches
Expected Behavior
Test is found and runs.
Actual Behavior
see above
The fastest (and the most fun) way to resolve the issue is to submit a pull-request yourself. If you are interested, feel free to check out the contribution guide, we look forward to seeing your PR...
The text was updated successfully, but these errors were encountered:
Environment
vscode-jest version
: 5.2.3node -v
: v14.17.0npm -v
: 7.24.2npm ls jest
: [email protected] C:\git\Banana\application\bananaFolder├─┬ [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected] deduped
│ └── [email protected]
└─┬ [email protected]
└─┬ [email protected]
├─┬ [email protected]
│ └── [email protected] deduped
└── [email protected] deduped
Prerequisite
npm run test
ornode_modules/.bin/jest
) npm run test (test script is"test": "react-scripts test --env=jsdom"
Steps to Reproduce
When running all tests in the project with Run Test (either from menu or green play button), the command generated is:
When running a test in Debug for a single test or single file (either from the Menu or green debug button) the command generated is:
When running a Run Test for a single test or single file (either from the Menu or green play button) the command generated is:
Note the file name has extraneous backslashes inside the name of the file and all the backslashes are escaped unlike the paths in the Debug mode (which works as expected).
Relevant Debug Info
Here is the output:
Expected Behavior
Test is found and runs.
Actual Behavior
see above
The fastest (and the most fun) way to resolve the issue is to submit a pull-request yourself. If you are interested, feel free to check out the contribution guide, we look forward to seeing your PR...
The text was updated successfully, but these errors were encountered: