Skip to content

Commit 6f01936

Browse files
committed
fix: add @ts-expect-error for invalid gradient_dir test case
1 parent a562ba9 commit 6f01936

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/svg/generator.additional.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -543,6 +543,7 @@ describe('[Feature] custom gradient_stops and gradient_dir', () => {
543543
scale: 'linear',
544544
gradient: true,
545545
gradient_stops: 'ff6b35,7000ff',
546+
// @ts-expect-error: intentionally passing invalid value to test fallback
546547
gradient_dir: 'invalid',
547548
} satisfies BadgeParams,
548549
baseCalendar

0 commit comments

Comments
 (0)