c84c05e961
- Bump version from 0.2.8 to 1.0.0 in package.json - Add missing 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) so test suite runs in CI - Add define block for process.env.NODE_ENV in vitest.config.mts for jsdom/React 18 compatibility - Switch from package-lock.json to pnpm-lock.yaml (pnpm as canonical package manager) - Update artifacthub-pkg.yml to v1.0.0 with updated archive-url and changes block - Update CHANGELOG.md with [1.0.0] entry and updated comparison links 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/**'],
|
|
},
|
|
});
|