aboutsummaryrefslogtreecommitdiffstats
path: root/lang/js/BrowserTestExtension/tests/startup.js
diff options
context:
space:
mode:
authorMaximilian Krambach <[email protected]>2018-05-23 10:56:23 +0000
committerMaximilian Krambach <[email protected]>2018-05-23 10:56:23 +0000
commitf7ed80ff6a66f2c5ee6f1c3daebd597f4592733d (patch)
tree3dc2b4dde55c14825b9dfa9db7ed225db77ab9d0 /lang/js/BrowserTestExtension/tests/startup.js
parentjs: transfer encoding changes (diff)
downloadgpgme-f7ed80ff6a66f2c5ee6f1c3daebd597f4592733d.tar.gz
gpgme-f7ed80ff6a66f2c5ee6f1c3daebd597f4592733d.zip
js: remove openpgp mode
-- * After discussion, that mode is not required, and can result in being quite misleading and a maintenance hassle later on.
Diffstat (limited to '')
-rw-r--r--lang/js/BrowserTestExtension/tests/startup.js16
1 files changed, 0 insertions, 16 deletions
diff --git a/lang/js/BrowserTestExtension/tests/startup.js b/lang/js/BrowserTestExtension/tests/startup.js
index a5614a83..5de70a6b 100644
--- a/lang/js/BrowserTestExtension/tests/startup.js
+++ b/lang/js/BrowserTestExtension/tests/startup.js
@@ -36,22 +36,6 @@
});
});
});
-describe('openpgp mode', function(){
- it('startup of openpgp mode returns the correct parameters', function(done){
- let prm = Gpgmejs.init({api_style:"gpgme_openpgpjs"});
- prm.then(function(context){
- expect(context).to.be.an('object');
- expect(context.connection).to.be.undefined;
- expect(context.Keyring).to.be.an('object');
- expect(context.encrypt).to.be.a('function');
- expect(context.decrypt).to.be.a('function');
- done();
- }, function(error){
- expect(error).to.be.undefined;
- done();
- });
- });
-});
describe('GPGME does not start with invalid parameters', function(){
for (let i=0; i < inputvalues.init.invalid_startups.length; i++){