import { defineConfig } from 'vitest/config'; export default defineConfig({ test: { globals: true, include: ['src/**/*.test.ts'], // Cosmos-emulator suites live alongside unit/integration tests but // require a live emulator; they are run by vitest.cosmos.config.ts and // must be excluded from the default `pnpm test` run so contributors // without Docker still get green locally. exclude: ['**/node_modules/**', 'src/**/*.cosmos.test.ts'], passWithNoTests: true, env: { ALLOW_ANONYMOUS_DEV: 'true', }, }, });