diff options
author | Maximilian Krambach <[email protected]> | 2018-05-03 16:03:22 +0000 |
---|---|---|
committer | Maximilian Krambach <[email protected]> | 2018-05-03 16:03:22 +0000 |
commit | c755287ba845c4cbbf1d50e5aafecb2e687c7ac9 (patch) | |
tree | 6b174738ce28aef4bdc29be8afa9e87db9fcaa69 /lang/js/src/Helpers.js | |
parent | js: changed Key class stub (diff) | |
download | gpgme-c755287ba845c4cbbf1d50e5aafecb2e687c7ac9.tar.gz gpgme-c755287ba845c4cbbf1d50e5aafecb2e687c7ac9.zip |
js: Added browser testing for unit tests
--
* Added unittests to be run inside a Browser. To be able to access
the non-exposed functions and classes, a testing bundle will be
created, containing the tests (unittests.js) and the items to be
tested.
* src/Helpelpers, src/Key, src/Keyring: fixed some errors found
during testing.
Diffstat (limited to 'lang/js/src/Helpers.js')
-rw-r--r-- | lang/js/src/Helpers.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/js/src/Helpers.js b/lang/js/src/Helpers.js index 9a69f851..ea056fff 100644 --- a/lang/js/src/Helpers.js +++ b/lang/js/src/Helpers.js @@ -91,9 +91,9 @@ export function isFingerprint(string){ return hextest(string, 40); }; /** - * check if the input is a valid Hex string with a length of 16 + * TODO no usage; check if the input is a valid Hex string with a length of 16 */ -export function isLongId(string){ +function isLongId(string){ return hextest(string, 16); }; |