Files
Folo/setup-file.ts
T
2024-08-15 20:44:46 +08:00

12 lines
188 B
TypeScript

// @ts-nocheck
import "fake-indexeddb/auto"
import { enableMapSet } from "immer"
globalThis.window = {
location: new URL("https://example.com"),
__dbIsReady: true,
}
enableMapSet()