Files
fil/e2e/wasm/vitest-setup.ts

7 lines
220 B
TypeScript
Raw Permalink Normal View History

2026-06-01 23:40:55 +02:00
// Setup WASI polyfills before importing kreuzberg
import { createWasiPreview1 } from "jco";
// This will be executed before any tests
const wasiImports = createWasiPreview1({});
(global as any).__WASI__ = wasiImports;