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

export default defineConfig({
  resolve: {
    alias: {
      "@": path.resolve(__dirname, "./src"),
    },
  },
  test: {
    watch: false,
    passWithNoTests: true,
    environment: "node",
    include: ["./src/tests/**/*.test.ts"],
    globalSetup: ["./src/tests/utils/setup.ts"],
    testTimeout: 60_000,
  },
});
