test: improve coverage for some files (#33218)

This commit is contained in:
Saumya Talwani authored and GitHub committed 2026-03-12 15:09:10 +08:00
1 parent 68982f910e
commit ed5511ce28
61 files changed
+3191 -304

No files matched your search

@@ -25,4 +25,9 @@ describe('Loading Component', () => {
const svgElement = container.querySelector('svg')
expect(svgElement).toHaveClass('spin-animation')
})
it('handles undefined props correctly', () => {
const { container } = render(Loading() as unknown as React.ReactElement)
expect(container.firstChild).toHaveClass('flex w-full items-center justify-center')
})
})