From 27ba0405be5a8dc217751f37ecf4bfed991892b5 Mon Sep 17 00:00:00 2001 From: Sean Perkins Date: Thu, 2 Nov 2023 13:01:08 -0400 Subject: [PATCH 1/2] docs(react): link to vitest docs --- docs/react/testing/introduction.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/react/testing/introduction.md b/docs/react/testing/introduction.md index a8cae30a467..c3a21c3c016 100644 --- a/docs/react/testing/introduction.md +++ b/docs/react/testing/introduction.md @@ -16,6 +16,6 @@ Testing is an important part of the development process, and it helps to ensure There are two types of tests that can be written: -**Unit Tests**: Unit tests are used to test individual functions and components in isolation. [Jest](https://jestjs.io) and [React Testing Library](https://testing-library.com) are commonly used for unit testing. +**Unit Tests**: Unit tests are used to test individual functions and components in isolation. [Jest](https://jestjs.io), [Vitest](https://vitest.dev/) and [React Testing Library](https://testing-library.com) are commonly used for unit testing. **Integration Tests**: Integration tests are used to test how different components work together. [Cypress](https://www.cypress.io) or [Playwright](https://playwright.dev) are commonly used for integration testing. From ac1fff880301ec1444e2fc96044e299fe7bff5bd Mon Sep 17 00:00:00 2001 From: Sean Perkins Date: Thu, 2 Nov 2023 16:26:40 -0400 Subject: [PATCH 2/2] docs: add vitest to introduction section --- docs/react/testing/introduction.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/react/testing/introduction.md b/docs/react/testing/introduction.md index c3a21c3c016..44d6fe6a74a 100644 --- a/docs/react/testing/introduction.md +++ b/docs/react/testing/introduction.md @@ -10,7 +10,7 @@ This document provides an overview of how to test an application built with `@io ## Introduction -Testing is an important part of the development process, and it helps to ensure that an application is working as intended. In `@ionic/react`, testing is done using a combination of tools and libraries, including Jest, React Testing Library, Playwright or Cypress. +Testing is an important part of the development process, and it helps to ensure that an application is working as intended. In `@ionic/react`, testing is done using a combination of tools and libraries, including Jest or Vitest, React Testing Library, Playwright or Cypress. ## Types of Tests