Fix: activate native tests under node.js
This commit is contained in:
parent
da3fbf8965
commit
2dce233d10
|
@ -462,7 +462,7 @@ describe('OpenPGP.js public api tests', function() {
|
||||||
});
|
});
|
||||||
|
|
||||||
tryTests('GCM mode (native)', tests, {
|
tryTests('GCM mode (native)', tests, {
|
||||||
if: openpgp.util.getWebCrypto(),
|
if: openpgp.util.getWebCrypto() || openpgp.util.getNodeCrypto(),
|
||||||
beforeEach: function() {
|
beforeEach: function() {
|
||||||
openpgp.config.useNative = true;
|
openpgp.config.useNative = true;
|
||||||
openpgp.config.aead_protect = true;
|
openpgp.config.aead_protect = true;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user