aboutsummaryrefslogtreecommitdiffstats
path: root/lang/js/BrowserTestExtension
diff options
context:
space:
mode:
authorMaximilian Krambach <[email protected]>2018-08-31 08:35:35 +0000
committerMaximilian Krambach <[email protected]>2018-08-31 08:36:54 +0000
commit346dfac0de41326553a079af7521a010cc258d6c (patch)
treef5ad2750382c02338606f216ffc196c09caf5d66 /lang/js/BrowserTestExtension
parentdocs: python bindings (diff)
downloadgpgme-346dfac0de41326553a079af7521a010cc258d6c.tar.gz
gpgme-346dfac0de41326553a079af7521a010cc258d6c.zip
js: cleanup after key import test
-- * one of the public Keys imported was not removed afterwards.
Diffstat (limited to 'lang/js/BrowserTestExtension')
-rw-r--r--lang/js/BrowserTestExtension/tests/KeyInfos.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/js/BrowserTestExtension/tests/KeyInfos.js b/lang/js/BrowserTestExtension/tests/KeyInfos.js
index 430c83a3..70f07050 100644
--- a/lang/js/BrowserTestExtension/tests/KeyInfos.js
+++ b/lang/js/BrowserTestExtension/tests/KeyInfos.js
@@ -51,7 +51,9 @@ describe('Key information', function () {
const user = result.Keys[0].key.get('userids')[0];
expect(user.get('name')).to.equal(
inputvalues.publicKeyNonAscii.userid);
- done();
+ result.Keys[0].delete().then(function (){
+ done();
+ });
});
});
}); \ No newline at end of file