diff options
author | Maximilian Krambach <[email protected]> | 2018-05-04 10:56:59 +0000 |
---|---|---|
committer | Maximilian Krambach <[email protected]> | 2018-05-04 10:56:59 +0000 |
commit | cf075846fb48c8d71937100d2c45069d37d54a38 (patch) | |
tree | 01b25208634229a48d2ec490324d11e7b6af534d /lang/js/unittests.js | |
parent | js: Added browser testing for unit tests (diff) | |
download | gpgme-cf075846fb48c8d71937100d2c45069d37d54a38.tar.gz gpgme-cf075846fb48c8d71937100d2c45069d37d54a38.zip |
js: fixing errors found by testing
--
* Key.js: Error code for wrong parameter in createKey should be
"PARAM_WRONG"
* Helpers.js: The property openpgpjs-like Objects were checked for in
toKeyIdArray was not defined.
* src/permittedOperations.js: updated more expectations and assumptions
for the native API
Diffstat (limited to 'lang/js/unittests.js')
-rw-r--r-- | lang/js/unittests.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/js/unittests.js b/lang/js/unittests.js index 0a1b4b48..6c0d1890 100644 --- a/lang/js/unittests.js +++ b/lang/js/unittests.js @@ -109,7 +109,7 @@ function unittests (){ }); }); - describe('toKeyIdArray() (converting input to fingerprint', function(){ + describe('toKeyIdArray() (converting input to fingerprint)', function(){ it('Correct fingerprint string', function(){ let test0 = toKeyIdArray(hp.validFingerprint); |