Implement unit tests for reading the Lua tracer FF in analyze-action.

This commit is contained in:
Cornelius Riemenschneider 2022-06-27 16:01:48 +00:00 committed by GitHub
parent f422a50448
commit ab7316e0c5
12 changed files with 231 additions and 19 deletions

4
lib/codeql.js generated
View file

@ -384,8 +384,8 @@ exports.getCachedCodeQL = getCachedCodeQL;
* a non-existent placeholder codeql command, so tests that use this function
* should also stub the toolrunner.ToolRunner constructor.
*/
async function getCodeQLForTesting() {
return getCodeQLForCmd("codeql-for-testing", false);
async function getCodeQLForTesting(cmd = "codeql-for-testing") {
return getCodeQLForCmd(cmd, false);
}
exports.getCodeQLForTesting = getCodeQLForTesting;
/**