aboutsummaryrefslogtreecommitdiffstats
path: root/lang/js/BrowserTestExtension/tests/longRunningTests.js
diff options
context:
space:
mode:
authorMaximilian Krambach <[email protected]>2018-05-14 14:23:24 +0000
committerMaximilian Krambach <[email protected]>2018-05-14 14:23:24 +0000
commit987b31746809dfe04966e37edd759a448a28d975 (patch)
tree8f1bc971f712c55740af924333557e21c9a99d86 /lang/js/BrowserTestExtension/tests/longRunningTests.js
parentjs: more testing of nativeMessaging connection (diff)
downloadgpgme-987b31746809dfe04966e37edd759a448a28d975.tar.gz
gpgme-987b31746809dfe04966e37edd759a448a28d975.zip
js: Tests and improvements for openpgp mode
-- * Added openpgp - Mode tests to the browsertest Extension. These tests require openpgp, which should not be a hard dependency for the main project. Packing openpgpjs into the extension is still TODO * Fixes: - openpgp mode API now correctly handles parameters as an object, similar to openpgpjs - proper check and parsing of openpgpjs Message Objects
Diffstat (limited to 'lang/js/BrowserTestExtension/tests/longRunningTests.js')
-rw-r--r--lang/js/BrowserTestExtension/tests/longRunningTests.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lang/js/BrowserTestExtension/tests/longRunningTests.js b/lang/js/BrowserTestExtension/tests/longRunningTests.js
index 0f32ca92..f67cbdf1 100644
--- a/lang/js/BrowserTestExtension/tests/longRunningTests.js
+++ b/lang/js/BrowserTestExtension/tests/longRunningTests.js
@@ -27,6 +27,7 @@ describe('Long running Encryption/Decryption', function () {
};
it('Successful encrypt 1 MB Uint8Array', function (done) {
+ //TODO: this succeeds, but result may be bogus (String with byte values as numbers)
let prm = Gpgmejs.init();
let data = bigUint8(1);
prm.then(function (context) {