Skip to content

docs: Use the according types with vitest#718

Open
challet wants to merge 1 commit intotesting-library:mainfrom
challet:patch-1
Open

docs: Use the according types with vitest#718
challet wants to merge 1 commit intotesting-library:mainfrom
challet:patch-1

Conversation

@challet
Copy link

@challet challet commented Mar 12, 2026

What:

Update the Vitest doc section about the types to include in tsconfig.json

Why:

  • @testing-library/jest-dom are jest types, for instance
const expect: jest.Expect
  • @testing-library/jest-dom/vitest are vitest types, for instance
const expect: ExpectStatic

How:

Update the types path

Checklist:

  • Documentation
  • Tests N/A
  • Updated Type Definitions N/A
  • Ready to be merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant