Pinafore-Web-Client-Frontend/tests/indexedDBShims.js

5 lines
119 B
JavaScript
Raw Normal View History

2022-11-18 18:32:31 +01:00
import { indexedDB, IDBKeyRange } from 'fake-indexeddb'
global.indexedDB = indexedDB
2022-11-18 18:32:31 +01:00
global.IDBKeyRange = IDBKeyRange