Honestly, I feel like I'm all over the place tryna figure out why this is happening so any suggestion/help would be appreciated
other "solutions" I've tried are: node_modules/jest/bin/jest reversestring/test.js --watch ./node_modules/.bin/jest steps/test.js --watch
note: revesersestring and steps were exercises I was trying to run jest on
My OS is MAC
The jest library must be installed globally.
Otherwise you need to run it from the absolute path in your node_modules folder.
The easiest way to run the jest command is to run an npm script. Like below:
npm test
you can install the jest-cli globally by running:
npm install -g jest-cli
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With