fix: add missing test dependencies to devDependencies (#28)
vitest, @testing-library/react, @testing-library/user-event, @testing-library/jest-dom, jsdom, react, react-dom, @mui/material, and react-router-dom were all used directly but only available as transitive dependencies through @kinvolk/headlamp-plugin. pnpm's strict module resolution prevented them from being resolved. Also adds process.env.NODE_ENV="test" to vitest config so React loads its development build (required for act() support in tests). Fixes #27 Co-authored-by: gandalf-the-greybeard[bot] <gandalf-the-greybeard[bot]@users.noreply.github.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit was merged in pull request #28.
This commit is contained in:
committed by
GitHub
parent
29bc953522
commit
497c040dbe
Generated
+11570
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user