This content originally appeared on DEV Community ๐ฉโ๐ป๐จโ๐ป and was authored by h a ู i i
Create React App
Create React App is the best way to start building a new single-page React application. More information on Create React App in the resources below.
Important Note about Create React App
With Create React App, the changes that the instructor makes to the project files are now unneeded. Simply run the following in the terminal to get started:
npx create-react-app react-enzyme-jest
cd react-enzyme-jest
With our project created, we can install Enzyme as a Dev Dependency:
npm install --save-dev enzyme
That's it! We don't need to make a .babelrc file, nor do we need to edit our test script in package.json.
Resources
This content originally appeared on DEV Community ๐ฉโ๐ป๐จโ๐ป and was authored by h a ู i i
h a ู i i | Sciencx (2022-09-27T23:08:51+00:00) Install Enzyme and Configure Jest. Retrieved from https://www.scien.cx/2022/09/27/install-enzyme-and-configure-jest/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.