kentcdodds / jest-cypress-react-babel-webpack

Configure Jest for Testing JavaScript Applications and Install, Configure, and Script Cypress for JavaScript Web Applications on TestingJavaScript.com
https://testingjavascript.com
Other
512 stars 329 forks source link

Install and Run Jest transcript typo #43

Closed antonjb closed 1 year ago

antonjb commented 3 years ago

The npm install snippet in the transcript is missing a dash between save and dev

image

The snippet should read: npm install --save-dev jest

Took a look through the code to see if Transcripts were here but it didn't seem like it.

antonjb commented 3 years ago

Also in this transcript is the following:

00:15 With jest installed in our dev dependencies right there, we can take a look at the known mantras directory under bin. Right here,we'll see jest, which is exactly what we want. With that installed, we can now add a test script, and we'll run simply jest in that test script.

known mantras should be node modules.

kentcdodds commented 1 year ago

Sorry I missed this somehow! I've just let the team know. Thanks for reporting!