mirror of
https://github.com/github/codeql-action.git
synced 2026-10-21 02:01:27 +00:00
Centralize CodeQL download telemetry fields
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -1275,6 +1275,10 @@ for (const bundle of ["per-language", "combined", "fallback"] as const) {
|
||||
);
|
||||
t.is(result.toolsDownloadStatusReport?.downloadDurationMs, 200);
|
||||
t.is(result.toolsDownloadStatusReport?.extractionDurationMs, 100);
|
||||
t.is(
|
||||
(await downloadSpy.lastCall.returnValue).statusReport.bundleLanguage,
|
||||
bundle === "per-language" ? BuiltInLanguage.javascript : undefined,
|
||||
);
|
||||
t.is(extractStub.callCount, bundle === "fallback" ? 2 : 1);
|
||||
t.is(downloadSpy.callCount, extractStub.callCount);
|
||||
t.is(
|
||||
|
||||
Reference in New Issue
Block a user