https://github.com/zoontek/types-testing-library-vitest-dom
TypeScript definitions for @testing-library/jest-dom (with vitest)
https://github.com/zoontek/types-testing-library-vitest-dom
Last synced: 5 months ago
JSON representation
TypeScript definitions for @testing-library/jest-dom (with vitest)
- Host: GitHub
- URL: https://github.com/zoontek/types-testing-library-vitest-dom
- Owner: zoontek
- License: mit
- Created: 2022-07-07T12:08:58.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-05-09T14:29:46.000Z (about 3 years ago)
- Last Synced: 2025-07-21T09:55:53.495Z (11 months ago)
- Homepage:
- Size: 13.7 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# types-testing-library-vitest-dom
## Installation (yarn)
```json
"resolutions": {
"@types/testing-library__jest-dom": "github:zoontek/types-testing-library-vitest-dom"
}
```
## Installation (npm)
```json
"overrides": {
"@types/testing-library__jest-dom": "github:zoontek/types-testing-library-vitest-dom"
}
```
## Test setup file
```ts
import matchers from "@testing-library/jest-dom/matchers";
import { expect } from "vitest";
expect.extend(matchers);
```
# Summary
This package contains type definitions for [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) (with vitest).
# Credits
These definitions were written by [Ernesto García](https://github.com/gnapse), [John Gozde](https://github.com/jgoz), [Seth Macpherson](https://github.com/smacpherson64), and [Andrew Leedham](https://github.com/AndrewLeedham).