16e66346d7
BREAKING CHANGE: Node v12.20+, v14.14+, or v16.0+ is required * fix!: remove esm package, use native Node ES modules * fix: fix some CJS imports
6 lines
172 B
JavaScript
6 lines
172 B
JavaScript
import indexedDB from 'fake-indexeddb'
|
|
import IDBKeyRange from 'fake-indexeddb/build/FDBKeyRange.js'
|
|
|
|
global.indexedDB = indexedDB
|
|
global.IDBKeyRange = IDBKeyRange.default
|