✅ test(atoms): cleanup IconLinks test warnings

This commit is contained in:
2024-02-17 16:06:17 +01:00
parent be334d9a34
commit 7b615a9fa5
@@ -14,6 +14,8 @@ const labels: { [key: string]: string } = {
VideoIconLink: 'Video-button', VideoIconLink: 'Video-button',
ExtrernalIconLink: 'External-link-button', ExtrernalIconLink: 'External-link-button',
} }
vi.stubGlobal('open', vi.fn())
describe('IconLinks', () => { describe('IconLinks', () => {
const open = vi.spyOn(window, 'open') const open = vi.spyOn(window, 'open')