From c96a1df8e196106a70669b504ca798240ee5e9e4 Mon Sep 17 00:00:00 2001 From: d98762625 Date: Fri, 11 May 2018 11:09:04 +0100 Subject: [PATCH] add namespaces to docas --- src/node/apiUtils.mjs | 4 +++- test/tests/assertionHandler.mjs | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/node/apiUtils.mjs b/src/node/apiUtils.mjs index 52ea55e0..a8443b41 100644 --- a/src/node/apiUtils.mjs +++ b/src/node/apiUtils.mjs @@ -76,6 +76,7 @@ export function wrap(Operation) { /** * First draft + * @namespace Api * @param input * @param type */ @@ -89,7 +90,7 @@ export async function translateTo(input, type) { } /** - * + * @namespace Api * @param searchTerm */ export function search(searchTerm) { @@ -117,6 +118,7 @@ function extractOperationInfo(Operation) { /** + * @namespace Api * @param {Object} operations - an object filled with operations. * @param {String} searchTerm - the name of the operation to get help for. * Case and whitespace are ignored in search. diff --git a/test/tests/assertionHandler.mjs b/test/tests/assertionHandler.mjs index 3d6ae9e0..025c07d0 100644 --- a/test/tests/assertionHandler.mjs +++ b/test/tests/assertionHandler.mjs @@ -12,6 +12,7 @@ /** * it - wrapper for assertions to provide a helpful description * to the TestRegister + * @namespace ApiTests * @param {String} description - The description of the test * @param {Function} assertion - The test *