Skip to content

Commit fcd1df3

Browse files
committed
fix(test): align test parameters with production signatures
1 parent 3849e73 commit fcd1df3

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

455 Bytes
Loading

tests/visual/visual.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ describe('Visual Regression Tests - SVG Generators', () => {
222222
});
223223

224224
it('5. generateWrappedSVG', () => {
225-
const svg = generateWrappedSVG(mockWrappedStats, mockParams, 2024, mockCalendar);
225+
const svg = generateWrappedSVG(mockWrappedStats, mockParams, '2024', mockCalendar);
226226
compareOrUpdateVisualBaseline('generateWrappedSVG', svg);
227227
});
228228

@@ -266,7 +266,7 @@ describe('Visual Regression Tests - SVG Generators', () => {
266266
});
267267

268268
it('12. generateRateLimitSVG', () => {
269-
const svg = generateRateLimitSVG(mockParams);
269+
const svg = generateRateLimitSVG('0d1117', '58a6ff', 'c9d1d9', 8, '8s', false);
270270
compareOrUpdateVisualBaseline('generateRateLimitSVG', svg);
271271
});
272272

0 commit comments

Comments
 (0)