16 lines
363 B
TypeScript
16 lines
363 B
TypeScript
import { fileURLToPath } from "node:url";
|
|
import { defineConfig } from "vitest/config";
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
include: ["src/**/*.test.{ts,tsx}"],
|
|
// date/opening-hours logic is Oslo-tz-sensitive
|
|
env: { TZ: "Europe/Oslo" },
|
|
},
|
|
resolve: {
|
|
alias: {
|
|
"@": fileURLToPath(new URL("./src", import.meta.url)),
|
|
},
|
|
},
|
|
});
|