Implement unit tests for reading the Lua tracer FF in analyze-action.
This commit is contained in:
parent
f422a50448
commit
ab7316e0c5
12 changed files with 231 additions and 19 deletions
4
lib/codeql.js
generated
4
lib/codeql.js
generated
|
|
@ -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;
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue