import { defineConfig } from "vitest/config"; export default defineConfig({ resolve: { // ``obsidian`` is provided by the host app at runtime and has no // installable implementation, so tests link against a stub. alias: { obsidian: new URL("./tests/obsidian-stub.ts", import.meta.url).pathname, }, }, test: { environment: "node", include: ["tests/**/*.test.ts"], }, });