From fda7b13f1b673962ce34b6f429158a7eb9cef47b Mon Sep 17 00:00:00 2001 From: Maximilian Krambach Date: Fri, 27 Apr 2018 20:03:09 +0200 Subject: js: more testing -- * Tests: initialization of the two modes, encryption * gpgme.js: reintroduced message check before calling Connection.post() * gpgmejs_openpgp.js: Fixed openpgp mode not passing keys * index.js: fixed some confusion in parseconfig() * Inserted some TODO stubs for missing error handling --- lang/js/test/Helpers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lang/js/test/Helpers.js') diff --git a/lang/js/test/Helpers.js b/lang/js/test/Helpers.js index 5d8909f9..6b5a5382 100644 --- a/lang/js/test/Helpers.js +++ b/lang/js/test/Helpers.js @@ -24,7 +24,7 @@ import { GPGME_Key } from "../src/Key"; import { isLongId, isFingerprint, toKeyIdArray } from "../src/Helpers" import { helper_params } from "./inputvalues"; -function Helpertest(){ +export function Helpertest(){ describe('Error Object handling', function(){ it('check the Timeout error', function(){ let test0 = gpgme_error('CONN_TIMEOUT'); -- cgit v1.2.3