Skip to content

Commit cd73891

Browse files
authored
docs(react): link to vitest docs (#3225)
* docs(react): link to vitest docs * docs: add vitest to introduction section
1 parent 38bf16a commit cd73891

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/react/testing/introduction.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ This document provides an overview of how to test an application built with `@io
1010

1111
## Introduction
1212

13-
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.
13+
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.
1414

1515
## Types of Tests
1616

1717
There are two types of tests that can be written:
1818

19-
**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.
19+
**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.
2020

2121
**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.

0 commit comments

Comments
 (0)