mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-05-02 06:26:16 -04:00
switching webcrypto library to native node crypto implementation (requires node>=10)
This commit is contained in:
parent
7794915172
commit
dfed1a4b45
3 changed files with 4 additions and 3 deletions
|
@ -7,7 +7,7 @@ global.jsdom = require('jsdom-global');
|
|||
global.cleanup = global.jsdom();
|
||||
global.URL = require('jsdom-url').URL;
|
||||
global.fs = require('fs');
|
||||
global.WebCrypto = require('node-webcrypto-ossl');
|
||||
global.WebCrypto = require('@peculiar/webcrypto').Crypto;
|
||||
|
||||
// application libraries to test
|
||||
global.$ = global.jQuery = require('./jquery-3.4.1');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue