tests: Simplify API key reading

Also delete unused imports.
This commit is contained in:
Richard Hansen 2020-10-08 01:37:17 -04:00 committed by John McLear
parent ce0b151159
commit 048bd0f50d
12 changed files with 29 additions and 67 deletions

View file

@ -196,3 +196,7 @@ exports.handle = async function(apiVersion, functionName, fields, req, res)
// call the api function
return api[functionName].apply(this, functionParams);
}
exports.exportedForTestingOnly = {
apiKey: apikey,
};