Fork Horse repository, listed by its owner. Publisher snapshot.

packages/forkhorse-runner/vitest.config.ts

Snapshot at 34e3175

Containing directory

543 bytes · typescriptView raw
1import { cloudflareTest } from "@cloudflare/vitest-plugin";
2import { defineConfig } from "vitest/config";
3
4// Actual workerd with mocked ContainerPort; no Docker or provider calls.
5export default defineConfig({
6  plugins: [cloudflareTest({ main: "./__tests__/worker.ts", miniflare: {
7    workerLoaders: { LOADER: {} },
8    durableObjects: { RECEIPT_RUNNER: { className: "ReceiptRunner", useSQLite: true } },
9    compatibilityDate: "2026-10-11", compatibilityFlags: ["nodejs_compat"],
10  } })],
11  test: { include: ["__tests__/*.test.ts"] },
12});
13