gbowne1 / codebooker

This is a book recommendation app created with React 18.2 and MUI for coders/programmers looking for reccomendations to books on programming/coding to read
MIT License
31 stars 57 forks source link

[BUG] Fix errors coming from the Jest VSCode extension #165

Open gbowne1 opened 1 year ago

gbowne1 commented 1 year ago

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

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 <
akshitarora921 commented 1 year ago

@gbowne1 Can I take this?

gbowne1 commented 1 year ago

Yes you can @akshitarora921. I will assign you.

akshitarora921 commented 1 year ago

Hi @gbowne1, All the tests are visible, Let me know if I am missing something.

Screenshot 2023-10-26 at 9 15 46 AM
gbowne1 commented 1 year ago

@akshitarora921

I am still learning Jest. It's been around a month or two since we have had working on tests. I only posted what I was noticing in my VSCode.

Anyone is welcome to create or work on tests if they are willing to.