yukey

vitest.config.ts

// Tests live beside the code they cover (src/foo.test.ts next to src/foo.ts).
// Everything here is node-only; there's no DOM to emulate.
import { defineConfig } from "vitest/config";

export default defineConfig({
	test: {
		environment: "node",
		include: ["src/**/*.test.ts"],
	},
});

packages/yukey-testkit/vitest.config.ts · 289 B · 43140f51d8