import { cloudflareTest } from "@cloudflare/vitest-plugin"; import { defineConfig } from "vitest/config"; export default defineConfig({ plugins: [cloudflareTest({ wrangler: {configPath:"./wrangler.jsonc"}, miniflare: {bindings: {PROXY_PASSWORD:"test-only-passphrase-at-least-24-characters"}}, })], // Keep the nested Node test suite in experiments/local-wisp out of Vitest. // It runs independently via: npm --prefix experiments/local-wisp test test: { testTimeout: 10000, include: ["test/**/*.test.ts"], }, });