Files
fil/e2e/wasm/vitest-setup.ts
Henrik Jess Nielsen b4c07d3693
All checks were successful
Deploy fil (kreuzberg) / deploy (push) Successful in 49s
Nomad changes
2026-06-01 23:40:55 +02:00

7 lines
220 B
TypeScript
Generated

// 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;