[BUG] Fix errors coming from the Jest VSCode extension
- Dominant language
- JavaScript
- Stars
- 35
- Forks
- 54
- PR merge metrics
- No merged PRs in 30d
Description
This is what I am getting from the project currently from the Jest VSCode extension. `Orta.vscode-jest`. This mainly runs the command `npm test` in a runner, as well as `react-scripts test` with some paramters. It was not able to find tests.
This issue will go along with these issues: #138
```shell
Jest (codebooker)
[info] auto config:
found:
rootPath: /home/gbowne1/Documents/codebooker
jestCommandLine: npm test --
> codebooker@0.1.0 test /home/gbowne1/Documents/codebooker
> react-scripts test "--testLocationInResults" "--json" "--useStderr" "--outputFile" "/tmp/jest_runner_codebooker_1000.json" "--watch" "--no-coverage" "--reporters" "default" "--reporters" "/home/gbowne1/.vscode/extensions/orta.vscode-jest-5.2.3/out/reporter.js" "--colors"
No tests found related to files changed since last commit.
> Test run started at 9/7/2023, 1:47:15 PM <
> Test run finished at 9/7/2023, 1:47:15 PM <
No tests found related to files changed since last commit.
> Test run started at 9/7/2023, 2:06:07 PM <
> Test run finished at 9/7/2023, 2:06:07 PM <
```
Contributor guide
Research direction
Reproduce the reported run using the Jest VSCode extension with `npm test` and the `react-scripts test` command shown in the issue. Compare the extension output with the project's test setup; the issue is done when the extension can find and run the relevant tests instead of reporting that no tests were found.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react, vscode
- Domain
- developer-experience, frontend, testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100