2023-10-28 05:55:34 +02:00
|
|
|
/* eslint-disable @typescript-eslint/naming-convention */
|
2023-11-02 16:58:16 +01:00
|
|
|
import path from "node:path";
|
2023-10-28 05:55:34 +02:00
|
|
|
import { defineConfig } from "vitest/config";
|
|
|
|
|
|
|
|
export default defineConfig({
|
|
|
|
test: {
|
|
|
|
name: "spt-server",
|
|
|
|
root: "./tests",
|
|
|
|
environment: "./CustomEnvironment.ts",
|
|
|
|
globals: true,
|
2023-10-30 03:19:49 +01:00
|
|
|
typecheck: {
|
|
|
|
enabled: true
|
|
|
|
},
|
2023-10-28 05:55:34 +02:00
|
|
|
alias: {
|
|
|
|
"@spt-aki": path.resolve(__dirname, "src"),
|
|
|
|
"@tests": path.resolve(__dirname, "tests")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|