summaryrefslogtreecommitdiff
path: root/workers/vitest.config.ts
blob: 340c5681601e9b464779ae929a7b60bbde8549c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import { defineConfig } from "vitest/config";
import { cloudflareTest } from "@cloudflare/vitest-pool-workers";

export default defineConfig({
  plugins: [
    // Each suite provides its own wrangler config via miniflare option overrides;
    // apex tests read workers/apex/wrangler.jsonc to assert config congruence.
    cloudflareTest({
      miniflare: {
        compatibilityDate: "2026-07-01",
      },
    }),
  ],
});