2234e2878f
- Bump version to 1.0.0 in package.json and artifacthub-pkg.yml - Add explicit devDependencies: vitest, @testing-library/react, @testing-library/jest-dom, @testing-library/user-event, jsdom, react, react-dom, @types/react, @types/react-dom, react-router-dom, @mui/material, notistack — resolves phantom-dep test failures - Add process.env.NODE_ENV define to vitest.config.mts (fixes "act() not supported in production builds" failures) - Switch to pnpm lockfile (pnpm-lock.yaml), drop package-lock.json - Remove install-plugin.sh (violates ArtifactHub-only install policy) - Fill in CHANGELOG entries for v0.2.22, v0.2.23, v0.2.24 - Update CHANGELOG [1.0.0] and version comparison links - All 233 tests pass Co-Authored-By: Paperclip <noreply@paperclip.ing>
14 lines
279 B
TypeScript
14 lines
279 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
define: {
|
|
'process.env.NODE_ENV': '"test"',
|
|
},
|
|
test: {
|
|
globals: true,
|
|
environment: 'jsdom',
|
|
setupFiles: ['./vitest.setup.ts'],
|
|
exclude: ['e2e/**', 'node_modules/**'],
|
|
},
|
|
});
|