Skip to content

Commit 3401b85

Browse files
authored
test: add test for Rule.ReportDescriptor type (#19449)
1 parent e497aa7 commit 3401b85

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/lib/types/types.test.ts

+2
Original file line numberDiff line numberDiff line change
@@ -540,6 +540,8 @@ rule = {
540540
],
541541
});
542542

543+
(violation: Rule.ReportDescriptor) => context.report(violation);
544+
543545
return {
544546
onCodePathStart(codePath, node) {
545547
const origin: Rule.CodePathOrigin = codePath.origin;

0 commit comments

Comments
 (0)