mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-07-20 21:49:04 -04:00
making use of the URL object in the existing tests
This commit is contained in:
parent
1958a55651
commit
50cc6995e0
5 changed files with 17 additions and 25 deletions
|
@ -5,7 +5,7 @@ global.assert = require('assert');
|
|||
global.jsc = require('jsverify');
|
||||
global.jsdom = require('jsdom-global');
|
||||
global.cleanup = global.jsdom();
|
||||
global.window.URL = require('jsdom-url');
|
||||
global.URL = require('jsdom-url').URL;
|
||||
global.fs = require('fs');
|
||||
global.WebCrypto = require('node-webcrypto-ossl');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue