diff options
author | Maximilian Krambach <[email protected]> | 2018-06-11 13:10:43 +0000 |
---|---|---|
committer | Maximilian Krambach <[email protected]> | 2018-06-11 13:10:43 +0000 |
commit | e154554e9a48a08219649a58be0b641c561e1748 (patch) | |
tree | 26aa17adb3b8edc7acb2c14d9e4cd12bde1ad926 /lang/js/BrowserTestExtension/tests | |
parent | js: Add key creation to Keyring (diff) | |
download | gpgme-e154554e9a48a08219649a58be0b641c561e1748.tar.gz gpgme-e154554e9a48a08219649a58be0b641c561e1748.zip |
js: removed config
--
* There is no use for a configuration at the moment, and it seems
improbable that this use will arise.
Diffstat (limited to 'lang/js/BrowserTestExtension/tests')
-rw-r--r-- | lang/js/BrowserTestExtension/tests/inputvalues.js | 8 | ||||
-rw-r--r-- | lang/js/BrowserTestExtension/tests/startup.js | 17 |
2 files changed, 0 insertions, 25 deletions
diff --git a/lang/js/BrowserTestExtension/tests/inputvalues.js b/lang/js/BrowserTestExtension/tests/inputvalues.js index 024aad25..1c701904 100644 --- a/lang/js/BrowserTestExtension/tests/inputvalues.js +++ b/lang/js/BrowserTestExtension/tests/inputvalues.js @@ -53,14 +53,6 @@ const inputvalues = {// eslint-disable-line no-unused-vars // bogus fingerprint) fingerprint: 'CDC3A2B2860625CCBFC5AAAAAC6D1B604967FC4A' } - }, - init: { - // some parameters - invalid_startups: [ - {all_passwords: true}, - 'openpgpmode', - {api_style:'frankenstein'} - ] } }; diff --git a/lang/js/BrowserTestExtension/tests/startup.js b/lang/js/BrowserTestExtension/tests/startup.js index d434b6d4..dae94025 100644 --- a/lang/js/BrowserTestExtension/tests/startup.js +++ b/lang/js/BrowserTestExtension/tests/startup.js @@ -22,7 +22,6 @@ */ /* global describe, it, expect, Gpgmejs */ -/* global inputvalues */ describe('GPGME context', function(){ it('Starting a GpgME instance', function(done){ @@ -36,19 +35,3 @@ describe('GPGME context', function(){ }); }); }); - -describe('GPGME does not start with invalid parameters', function(){ - for (let i=0; i < inputvalues.init.invalid_startups.length; i++){ - it('Parameter '+ i, function(done){ - let prm = Gpgmejs.init(inputvalues.init.invalid_startups[i]); - prm.then(function(context){ - expect(context).to.be.undefined; - done(); - }, function(error){ - expect(error).to.be.an.instanceof(Error); - expect(error.code).to.equal('PARAM_WRONG'); - done(); - }); - }); - } -});
\ No newline at end of file |