Assert that nothing is logged

This commit is contained in:
Michael B. Gale
2026-05-19 14:22:23 +01:00
parent b79a976789
commit 0a7280a837
+1 -5
View File
@@ -125,11 +125,7 @@ test.serial(
requiredInputStub.withArgs("analysis-kinds").returns("code-quality");
const result = await getAnalysisKinds(logger, features, true);
t.deepEqual(result, [AnalysisKind.CodeQuality]);
t.assert(
!logger.hasMessage(
"An analysis kind other than `code-scanning` was specified in a custom workflow.",
),
);
t.deepEqual(logger.messages, []);
},
);