Skip to content

TypeScript definitions for @testing-library/jest-dom (with vitest)

License

Notifications You must be signed in to change notification settings

zoontek/types-testing-library-vitest-dom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

types-testing-library-vitest-dom

Installation (yarn)

"resolutions": {
  "@types/testing-library__jest-dom": "github:zoontek/types-testing-library-vitest-dom"
}

Installation (npm)

"overrides": {
  "@types/testing-library__jest-dom": "github:zoontek/types-testing-library-vitest-dom"
}

Test setup file

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 (with vitest).

Credits

These definitions were written by Ernesto García, John Gozde, Seth Macpherson, and Andrew Leedham.

About

TypeScript definitions for @testing-library/jest-dom (with vitest)

Resources

License

Stars

Watchers

Forks