import { defineConfig } from "vitest/config"; import path from "path"; export default defineConfig({ test: { globals: true, environment: "node", setupFiles: ["tests/setup.ts"], include: [ "tests/**/*.test.ts", "tests/**/*.property.test.ts", ], coverage: { provider: "v8", include: ["src/**/*.ts"], exclude: ["src/main.ts", "src/ui/**"], }, testTimeout: 30000, }, resolve: { alias: { "@": "./src", obsidian: path.resolve(__dirname, "tests/__mocks__/obsidian.ts"), }, }, });