fix: add missing test dependencies to devDependencies #28

Merged
ghost merged 1 commits from fix/add-vitest-devdeps into main 2026-03-09 01:08:43 +00:00

1 Commits

Author SHA1 Message Date
gandalf-the-greybeard[bot] efd59e9b77 fix: add missing test dependencies to devDependencies
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: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 00:57:11 +00:00