-
Couldn't load subscription status.
- Fork 411
Open
Description
@testing-library/jest-domversion: 6.6.3nodeversion: v22.13.1jest(orvitest) version: 3.0.5npm(oryarn) version: pnpm@9.15.1
Relevant code or config:
; .npmrc
hoist=false
What you did:
Tried running tests.
What happened:
Error: Cannot find package 'vitest' imported from /path/to/project/ui/node_modules/.pnpm/@testing-library+jest-dom@6.6.3/node_modules/@testing-library/jest-dom/dist/vitest.mjs
Suggested solution:
vitest is declared in the devDependencies of @testing-library/jest-dom but it must be declared in the dependencies or peerDependencies because @testing-library/jest-dom/dist/vitest.mjs is importing vitests expect at test run time.
JeffreyATW, lozinsky, chillyistkult, paullaros, dnafication and 3 more
Metadata
Metadata
Assignees
Labels
No labels