Files
2026-08-08 16:30:22 +02:00

16 lines
410 B
TypeScript

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"],
},
});