import { defineConfig } from "vitest/config"
import path from "path"

export default defineConfig({
	test: {
		include: ["src/**/*.test.{ts,tsx}"],
		environment: "node",
	},
	resolve: {
		alias: {
			"@": path.resolve(__dirname, "./src"),
		},
	},
	esbuild: {
		jsx: "automatic",
	},
	oxc: {
		jsx: {
			runtime: "automatic",
		},
	},
})
