Skip to content

fix: use cross-platform Jest path in test and coverage scripts#130

Open
AdityaChauhanX07 wants to merge 1 commit intoaccordproject:mainfrom
AdityaChauhanX07:fix/cross-platform-jest-path
Open

fix: use cross-platform Jest path in test and coverage scripts#130
AdityaChauhanX07 wants to merge 1 commit intoaccordproject:mainfrom
AdityaChauhanX07:fix/cross-platform-jest-path

Conversation

@AdityaChauhanX07
Copy link
Copy Markdown

Fixes #129

node_modules/.bin/jest is a bash shim on Windows, so node can't execute it directly. Changed to node_modules/jest-cli/bin/jest.js which is the actual JS entry point and works on all platforms.

Signed-off-by: AdityaChauhanX <aditya.chauhanx2612@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: npm test fails on Windows - Jest invoked via bash shim

1 participant