pinafore/tests/indexedDBShims.js

5 lines
119 B
JavaScript

import { indexedDB, IDBKeyRange } from 'fake-indexeddb'
global.indexedDB = indexedDB
global.IDBKeyRange = IDBKeyRange