diff --git a/apps/app/tests/unit/components.Footer.test.tsx b/apps/app/tests/unit/components.Footer.test.tsx index a270cf31..a9efb233 100644 --- a/apps/app/tests/unit/components.Footer.test.tsx +++ b/apps/app/tests/unit/components.Footer.test.tsx @@ -11,7 +11,7 @@ describe('Footer', () => { const sources = screen.getAllByRole('img').map((img) => img.getAttribute('src')) expect(sources).toHaveLength(2) for (const src of sources) { - expect(src).toMatch(/^\/|^data:|^blob:/) + expect(src).toMatch(/^\/(?!\/)|^data:|^blob:/) expect(src).not.toMatch(/^https?:/) } })