You don’t pass fake-indexeddb to babylon.js. I have not used it. But I guess you need to import indexdedDB
import {
indexedDB as fakeIndexedDB,
} from "fake-indexeddb";
And then add indexedDB
to global object of node runtime.
You don’t pass fake-indexeddb to babylon.js. I have not used it. But I guess you need to import indexdedDB
import {
indexedDB as fakeIndexedDB,
} from "fake-indexeddb";
And then add indexedDB
to global object of node runtime.