firsttris / vscode-jest-runner

Simple way to run or debug one or more tests from context menu, codelens or command plalette
https://marketplace.visualstudio.com/items?itemName=firsttris.vscode-jest-runner
MIT License
264 stars 124 forks source link

Error: Cannot find module 'my_path\node_modulesjestbinjest.js' #7

Closed chanakaHetti closed 6 years ago

chanakaHetti commented 6 years ago

I just installed vscode-jest-runner and tried to run test. I got error like below.

Error: Cannot find module 'my_path\node_modulesjestbinjest.js'

firsttris commented 6 years ago

Hey.

may i asked on which OS you are?

i have just tested with vscode 1.25.1 on windows 10

for me it seems to working in Linux and also Windows 10

output of running a test:

PS D:\projects\timetracking-app> node d:\projects\timetracking-app\node_modules\jest\bin\jest.js -t "getHoursByDate" PASS packages\server\src\collections\ComplainCollection.test.ts

Test Suites: 33 skipped, 1 passed, 1 of 34 total Tests: 190 skipped, 1 passed, 191 total Snapshots: 0 total Time: 7.235s Ran all test suites with tests matching "getHoursByDate". PS D:\projects\timetracking-app>

regards Tristan

firsttris commented 6 years ago

if you still experience such issues please reopen your issue