initial work to add IndexedDB support, including npm module to mock its API in unit tests
This commit is contained in:
@@ -8,6 +8,7 @@ global.cleanup = global.jsdom();
|
||||
global.URL = require('jsdom-url').URL;
|
||||
global.fs = require('fs');
|
||||
global.WebCrypto = require('@peculiar/webcrypto').Crypto;
|
||||
require('fake-indexeddb/auto');
|
||||
|
||||
// application libraries to test
|
||||
global.$ = global.jQuery = require('./jquery-3.4.1');
|
||||
|
||||
Reference in New Issue
Block a user