mirror of
https://github.com/github/codeql-action.git
synced 2026-05-21 13:04:08 +00:00
Assert that nothing is logged
This commit is contained in:
@@ -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, []);
|
||||
},
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user