chore: switch doctest solutions

This commit is contained in:
2026-07-04 22:49:42 +02:00
parent 045eae553d
commit b323482c22
3 changed files with 109 additions and 24 deletions
+10
View File
@@ -0,0 +1,10 @@
import { defineConfig } from "gen-doctests/config";
export default defineConfig({
include: ["src/**/*.{js,ts}"],
outDir: "tests/generated",
templateHeader: [
"import { test, expect, expectTypeOf, describe, vi } from 'vitest'",
"import { $ } from '$PROJECT_ROOT/src'",
],
});