mirror of
https://github.com/nolanlawson/pinafore
synced 2024-12-09 00:37:34 +01:00
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
|