Server/project/vitest.config.ts
2023-10-29 22:19:49 -04:00

20 lines
501 B
TypeScript

/* eslint-disable @typescript-eslint/naming-convention */
import path from "path";
import { defineConfig } from "vitest/config";
export default defineConfig({
test: {
name: "spt-server",
root: "./tests",
environment: "./CustomEnvironment.ts",
globals: true,
typecheck: {
enabled: true
},
alias: {
"@spt-aki": path.resolve(__dirname, "src"),
"@tests": path.resolve(__dirname, "tests")
}
}
});