Adds hundreds of unit/integration/e2e tests, fixes WS bcrypt auth, config merge, fleet analytics, agent schedule/log tail, and documents stale PROBLEMS items. Updates PROBLEMS.md, README, and test scripts; ignores local spread-kits and coverage dirs.
18 lines
468 B
TypeScript
18 lines
468 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
environment: 'node',
|
|
include: ['src/**/*.test.{ts,tsx}'],
|
|
setupFiles: ['src/test/setup.ts'],
|
|
environmentMatchGlobs: [
|
|
['src/api/**', 'happy-dom'],
|
|
['src/context/**', 'happy-dom'],
|
|
['src/hooks/**', 'happy-dom'],
|
|
['src/pages/**', 'happy-dom'],
|
|
['src/components/**', 'happy-dom'],
|
|
['src/App.test.tsx', 'happy-dom'],
|
|
],
|
|
},
|
|
});
|