Skip to content

Commit 0a7280a

Browse files
committed
Assert that nothing is logged
1 parent b79a976 commit 0a7280a

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

src/analyses.test.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,11 +125,7 @@ test.serial(
125125
requiredInputStub.withArgs("analysis-kinds").returns("code-quality");
126126
const result = await getAnalysisKinds(logger, features, true);
127127
t.deepEqual(result, [AnalysisKind.CodeQuality]);
128-
t.assert(
129-
!logger.hasMessage(
130-
"An analysis kind other than `code-scanning` was specified in a custom workflow.",
131-
),
132-
);
128+
t.deepEqual(logger.messages, []);
133129
},
134130
);
135131

0 commit comments

Comments
 (0)