YoVDO

Next.js with React Testing Library, Jest, TypeScript

Offered By: Dave Gray via YouTube

Tags

Next.js Courses Web Development Courses Typescript Courses JEST Exam Courses ESLint Courses React Testing Library Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Discover how to implement testing in Next.js 13 with React Testing Library, Jest, and TypeScript in this 25-minute tutorial video. Follow a step-by-step guide to set up testing in a Next.js project with App Router and TypeScript. Learn to write your first tests using the AAA (Arrange, Act, Assert) pattern and explore multiple test scenarios for a single component. Gain insights into resolving current issues between Next.js and Jest, configuring Jest, setting up ESLint, and writing effective component tests. By the end of this tutorial, you'll have a solid foundation for implementing robust testing practices in your Next.js applications.

Syllabus

Intro
Welcome
Lesson Goals
Create a Next.js Project
Add dependencies
Current issue with Next.js & Jest
Add scripts
Jest config
Jest setup
ESLint
Writing Your First Component Test & AAA Pattern
Multiple Tests for the Same Component
For More Information


Taught by

Dave Gray

Related Courses

DEV201x: Introduction to TypeScript
Microsoft via edX
Developing Dynamic Web Applications Using Angular
Microsoft via edX
Introduction to TypeScript 2
Microsoft via edX
Multiplatform Mobile App Development with NativeScript
The Hong Kong University of Science and Technology via Coursera
Angular Fundamentals
Microsoft via edX