Skip to content

Commit 41c04be

Browse files
henrymercerCopilot
andcommitted
Use initAllState in bundle cleanup tests
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent 06f4ce7 commit 41c04be

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/setup-codeql.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ import {
2626
createTestConfig,
2727
getRecordingLogger,
2828
getTestEnv,
29+
initAllState,
2930
makeMacro,
3031
mockBundleDownloadApi,
3132
setupActionsVars,
@@ -1107,11 +1108,10 @@ async function runDownloadCodeQL(
11071108
const addDiagnostic = sinon.stub(diagnostics, "addNoLanguageDiagnostic");
11081109

11091110
const { codeqlFolder } = await setupCodeql.downloadCodeQLBundle(
1110-
{
1111+
initAllState({
11111112
env,
11121113
features: createFeatures(features),
1113-
logger: getRunnerLogger(true),
1114-
},
1114+
}),
11151115
{
11161116
bundle: {
11171117
kind: "combined",

0 commit comments

Comments
 (0)