```Jest/Vitest 交互式课程(在浏览器中运行)```
Jest/Vitest interactive course (runs in the browser)

原始链接: https://howtotestfrontend.com/courses/jest-vitest-fundamentals

这是为学习如何测试 React 前端应用所做的准备。在本课程中,我们将涵盖你在开始测试前端应用前必须掌握的 Jest 和 Vitest 核心基础知识。这包括在 Jest 和 Vitest 中编写测试的常用方法、常用匹配器、Mock(模拟)的使用、异步行为等。完成本课程后,你将为学习本网站关于 React 前端测试的主要内容做好准备。注意:本课程完全免费(无需注册),即使你想学习后端/NodeJS 测试,它同样适用。本课程兼容 Jest 和 Vitest,因为它们在大多数方面语法非常相似。

抱歉。
相关文章

原文

This is preparation for learning how to test React frontend applications. In this course we cover the core Jest and Vitest fundamentals that you need to know before you start testing frontend applications.

This includes common ways to write tests in Jest and Vitest, common matchers, working with mocks, async behaviour, and more.

Once you have completed this course, you will be ready for the main content on this site covering React frontend testing.

Note: This entire course is free (does not even require sign up) and it can be useful even if you want to learn Backend/NodeJS testing.

It is compatible with both Jest and Vitest, as they share very similar syntax for most things.

联系我们 contact @ memedata.com