Use initAllState in bundle cleanup tests

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Henry Mercer
2026-09-17 14:35:02 +01:00
parent 06f4ce74f9
commit 41c04be873

View File

@@ -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",