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
265 stars 124 forks source link

fix: valid jestBinPath is js file #244

Closed Hental closed 2 years ago

Hental commented 2 years ago

when repo use pnpm, 'node_modules/.bin/jest' is not js file, pnpm will auto generate bash file instead of original js file, so add valid for 'node_modules/.bin/jest' file,if not valid use 'node_modules/jest/bin/jest.js' instead fix #119

firsttris commented 2 years ago

thx, i will test an merge !

max10rogerio commented 2 years ago

Did you solve this problem? How do I test with the fix commit `10a95c7P ?