Skip to content

Commit 0c1e676

Browse files
committed
Updated testimonials.spec.ts to remove the useless assignment flagged by CodeQL
1 parent 18679c5 commit 0c1e676

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎test/e2e/specs/04-components/testimonials.spec.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ test.describe('Testimonials Component', () => {
293293
}, testimonialsEmblaSelector)
294294

295295
// Wait longer than rotation interval to verify it doesn't advance by checking over time
296-
let textAfterHover = initialText
296+
let textAfterHover: string | null
297297
for (let index = 0; index < 7; index++) {
298298
await waitForAnimationFrames(page.page, 60)
299299
textAfterHover = await testimonials.locator('blockquote').first().textContent()

0 commit comments

Comments
 (0)