Files
suaveplan/packages/persistence/storage/storage-browser-opfs/tests/setup/polyfills.ts
2026-05-27 23:47:53 +01:00

4 lines
180 B
TypeScript

// Polyfills for the test environment. Node 20+ exposes WHATWG streams and
// `TextEncoder`/`TextDecoder` globally; nothing else is required for the
// in-memory OPFS test double.