From 41c04be873c46b18f4fa7705e5eb5452964fc8a7 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Thu, 17 Sep 2026 14:35:02 +0100 Subject: [PATCH] Use initAllState in bundle cleanup tests Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- src/setup-codeql.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/setup-codeql.test.ts b/src/setup-codeql.test.ts index fcbbac7c5..2d041531f 100644 --- a/src/setup-codeql.test.ts +++ b/src/setup-codeql.test.ts @@ -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",