In this video, we're going to do all the setup for writing tests on our JavaScript project.
🎁 FREE TESTING SETUP CHECKLIST - https://selfteachme.ck.page/8bf8951258
0:00 Intro / Beginning
1:15 Installing the React Testing Library
Installing Jest
Installing jest-dom
3:48 Jest Configuration
Setting up babel.config.js
Write scripts within package.json
This video is part of a larger series where we build a React component from scratch and then write the tests to support it.
Part 1: Building the Actual React Tabbed Component - • How to Create Tabs Using React
Part 2: Intro to Testing -
Part 3: Setting up our Testing Environment - THIS VIDEO
Part 4: Testing our utility function - COMING SOON!
Part 5: Testing our React Component - COMING SOON!
Part 6: Looking at Code Coverage - COMING SOON!
🙋🏻♀️ INTERESTED in the App from Scratch Course? - https://selfteachme.ck.page/4f22b6ebd5
🔗 LINKS
Jest - https://jestjs.io/
React Testing Library - https://testing-library.com/docs/reac...
jest-dom Documentation - https://github.com/testing-library/je...
🤖CODE
React Tabbed Component, starting point on GitHub - https://github.com/selfteachme/0025-r...
React Tabbed Component, ending point on GitHub - https://github.com/selfteachme/0027-t...
👉🏻 Get Updates and Exclusive content at http://selfteach.me
💥 SelfTeach.me is a Zeal show: http://codingzeal.com