mirror of
https://github.com/github/codeql-action.git
synced 2026-10-03 09:14:58 +00:00
Use initAllState in bundle cleanup tests
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -26,6 +26,7 @@ import {
|
||||
createTestConfig,
|
||||
getRecordingLogger,
|
||||
getTestEnv,
|
||||
initAllState,
|
||||
makeMacro,
|
||||
mockBundleDownloadApi,
|
||||
setupActionsVars,
|
||||
@@ -1107,11 +1108,10 @@ async function runDownloadCodeQL(
|
||||
const addDiagnostic = sinon.stub(diagnostics, "addNoLanguageDiagnostic");
|
||||
|
||||
const { codeqlFolder } = await setupCodeql.downloadCodeQLBundle(
|
||||
{
|
||||
initAllState({
|
||||
env,
|
||||
features: createFeatures(features),
|
||||
logger: getRunnerLogger(true),
|
||||
},
|
||||
}),
|
||||
{
|
||||
bundle: {
|
||||
kind: "combined",
|
||||
|
||||
Reference in New Issue
Block a user