feat: init

This commit is contained in:
hh
2026-08-08 16:30:22 +02:00
commit 8a609da778
59 changed files with 10053 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
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"],
},
});