7 lines
220 B
TypeScript
7 lines
220 B
TypeScript
|
|
// 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;
|