Skip to content

Commit

Permalink
Add temporary ignore for unused expect
Browse files Browse the repository at this point in the history
Until we switch from Jest to Vitest

Ref: testing-library/jest-dom#123 (comment)
  • Loading branch information
karlhorky committed May 11, 2023
1 parent 60ad99f commit 413fff5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/checks/noDependencyProblems/noUnusedDependencies.ts
Expand Up @@ -43,6 +43,11 @@ export default async function noUnusedAndMissingDependencies() {
'playwright',
'puppeteer',

// `expect` required for proper types with `@testing-library/jest-dom` with `@jest/globals` and pnpm
// https://github.com/testing-library/jest-dom/issues/123#issuecomment-1536828385
// TODO: Remove when we switch from Jest to Vitest
'expect',

// TypeScript
'typescript',
'@types/*',
Expand Down

0 comments on commit 413fff5

Please sign in to comment.