aboutsummaryrefslogtreecommitdiffstats
path: root/lang/js/src/Helpers.js
diff options
context:
space:
mode:
authorMaximilian Krambach <[email protected]>2018-05-03 16:03:22 +0000
committerMaximilian Krambach <[email protected]>2018-05-03 16:03:22 +0000
commitc755287ba845c4cbbf1d50e5aafecb2e687c7ac9 (patch)
tree6b174738ce28aef4bdc29be8afa9e87db9fcaa69 /lang/js/src/Helpers.js
parentjs: changed Key class stub (diff)
downloadgpgme-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.js4
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);
};