This commit is contained in:
6
e2e/wasm/vitest-setup.ts
generated
Normal file
6
e2e/wasm/vitest-setup.ts
generated
Normal file
@@ -0,0 +1,6 @@
|
||||
// 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;
|
||||
Reference in New Issue
Block a user