Skip to content

Commit 12762ea

Browse files
authoredMar 26, 2025··
perf(browser): fork jest-dom instead of bundling it (#7605)
1 parent 2a8520a commit 12762ea

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+7710
-851
lines changed
 

‎docs/guide/browser/assertion-api.md

+1,012-43
Large diffs are not rendered by default.

‎docs/guide/browser/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ However, Vitest also provides packages to render components for several popular
401401

402402
If your framework is not represented, feel free to create your own package - it is a simple wrapper around the framework renderer and `page.elementLocator` API. We will add a link to it on this page. Make sure it has a name starting with `vitest-browser-`.
403403

404-
Besides rendering components and locating elements, you will also need to make assertions. Vitest bundles the [`@testing-library/jest-dom`](https://github.com/testing-library/jest-dom) library to provide a wide range of DOM assertions out of the box. Read more at the [Assertions API](/guide/browser/assertion-api).
404+
Besides rendering components and locating elements, you will also need to make assertions. Vitest forks the [`@testing-library/jest-dom`](https://github.com/testing-library/jest-dom) library to provide a wide range of DOM assertions out of the box. Read more at the [Assertions API](/guide/browser/assertion-api).
405405

406406
```ts
407407
import { expect } from 'vitest'

0 commit comments

Comments
 (0)
Please sign in to comment.