From 2dce233d10a0745adfa78642173cdd718c0687b9 Mon Sep 17 00:00:00 2001 From: Tankred Hase Date: Thu, 24 Mar 2016 13:34:12 +0800 Subject: [PATCH] Fix: activate native tests under node.js --- test/general/openpgp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/general/openpgp.js b/test/general/openpgp.js index 5588aa7f..913c184f 100644 --- a/test/general/openpgp.js +++ b/test/general/openpgp.js @@ -462,7 +462,7 @@ describe('OpenPGP.js public api tests', function() { }); tryTests('GCM mode (native)', tests, { - if: openpgp.util.getWebCrypto(), + if: openpgp.util.getWebCrypto() || openpgp.util.getNodeCrypto(), beforeEach: function() { openpgp.config.useNative = true; openpgp.config.aead_protect = true;