aboutsummaryrefslogtreecommitdiffstats
path: root/lang/js/BrowserTestExtension/tests
diff options
context:
space:
mode:
authorMaximilian Krambach <[email protected]>2018-09-06 08:11:10 +0000
committerMaximilian Krambach <[email protected]>2018-09-06 08:11:10 +0000
commit6463b1cd3b52f7b8a0bbaa838ae7b29da9f458e4 (patch)
treed717d6a9282df3667b78f0be67241116a9dc5fc6 /lang/js/BrowserTestExtension/tests
parentjs: documentation cleanup (diff)
downloadgpgme-6463b1cd3b52f7b8a0bbaa838ae7b29da9f458e4.tar.gz
gpgme-6463b1cd3b52f7b8a0bbaa838ae7b29da9f458e4.zip
js: fix error in toKeyIdArray
-- * src/Helpers.js: GPGME_Keys were not parsed as valid, as their fingerprint getter is not a fingerprint 'property'. * BrowserTestExtension: fixed a dsplay typo in counting of tests.
Diffstat (limited to 'lang/js/BrowserTestExtension/tests')
-rw-r--r--lang/js/BrowserTestExtension/tests/longRunningTests.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/js/BrowserTestExtension/tests/longRunningTests.js b/lang/js/BrowserTestExtension/tests/longRunningTests.js
index 1d710e31..f28a6e78 100644
--- a/lang/js/BrowserTestExtension/tests/longRunningTests.js
+++ b/lang/js/BrowserTestExtension/tests/longRunningTests.js
@@ -34,9 +34,9 @@ describe('Long running Encryption/Decryption', function () {
});
});
- for (let i=0; i < 101; i++) {
+ for (let i=1; i < 101; i++) {
it('Successful encrypt/decrypt completely random data '
- + (i+1) + '/100', function (done) {
+ + (i) + '/100', function (done) {
const data = bigString(2*1024*1024);
context.encrypt({ data: data, publicKeys: good_fpr })
.then(function (answer){