10 lines
287 B
TypeScript
10 lines
287 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
// Use happy-dom to avoid jsdom's heavy dependency chain and ESM/CJS edge cases.
|
|
// This package only needs a minimal DOM + localStorage for unit tests.
|
|
environment: 'happy-dom',
|
|
},
|
|
});
|