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
But It's working when I run npm run test:dev ServiceDetailsBanner.test.tsx
Expected Behavior
Run the test when i click on the red or green arrow on a single file
Actual Behavior
No test found when I run the test by clicking on the green or red arrow on a test file
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:
This could be related to a known npm bug with TestPathPattern on windows when using the UI to run an explicit test (#838). Please see comment for the solution.
Environment
vscode-jest version
: [5.2.3]node -v
: [v16.13.2]npm -v
: [8.1.2]Prerequisite
Relevant Debug Info
I can run all the tests using the UI and with command line with no problem.
I can't run test one by one by clicking the red or green arrow directly on the file this result to 'No test found error'
In C:\Users\Florian\Desktop\Apps\crm-ui
2570 files checked.
testMatch: /tests//.[jt]s?(x), **/?(.)+(spec|test).[tj]s?(x) - 328 matches
testPathIgnorePatterns: C:\Users\Florian\Desktop\Apps\crm-ui\dist\, C:\Users\Florian\Desktop\Apps\crm-ui\node_modules\, C:\Users\Florian\Desktop\Apps\crm-ui\src\config\test.ts - 2570 matches
testRegex: - 0 matches
Pattern: c:\\Users\\Florian\\Desktop\\Apps\\crm-ui\\src\\features\\offerComposition\\components\\tests\\ServiceDetailsBanner\.test\.tsx - 0 matches
But It's working when I run npm run test:dev ServiceDetailsBanner.test.tsx
Expected Behavior
Run the test when i click on the red or green arrow on a single file
Actual Behavior
No test found when I run the test by clicking on the green or red arrow on a test file
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: