import { tailorRuntime } from "@tailor-platform/sdk/vitest";
import { defineConfig } from "vitest/config";

export default defineConfig({
  // Module code runs on the Tailor Platform function runtime.
  plugins: [tailorRuntime()],
  test: {
    watch: false,
    passWithNoTests: true,
    environment: "tailor-runtime",
    include: ["**/*.test.ts"],
    testTimeout: 30_000,
  },
});
