import { defineConfig } from 'vitest/config'; // Standalone so the PWA plugin in vite.config.js stays out of the test run. // The units under test are pure logic + localStorage-backed stores, so a // plain Node environment plus a tiny localStorage shim is all that's needed // (no jsdom/happy-dom). export default defineConfig({ test: { environment: 'node', setupFiles: ['test/setup.js'], include: ['test/**/*.test.js'], }, });