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

6 lines
161 B
JavaScript
Raw Normal View History

import indexedDB from 'fake-indexeddb'
import IDBKeyRange from 'fake-indexeddb/build/FDBKeyRange'
global.indexedDB = indexedDB
global.IDBKeyRange = IDBKeyRange