5cde48c2c5
* test: add IndexedDB tests Adds unit tests using fake-indexeddb. * remove wtfnode dep
6 lines
161 B
JavaScript
6 lines
161 B
JavaScript
import indexedDB from 'fake-indexeddb'
|
|
import IDBKeyRange from 'fake-indexeddb/build/FDBKeyRange'
|
|
|
|
global.indexedDB = indexedDB
|
|
global.IDBKeyRange = IDBKeyRange
|