From 7b615a9fa5f0cdf877fb504ff5918bd37bf37e54 Mon Sep 17 00:00:00 2001 From: m-tartari <37861893+m-tartari@users.noreply.github.com> Date: Sat, 17 Feb 2024 16:06:17 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=85=20test(atoms):=20cleanup=20`IconLinks?= =?UTF-8?q?`=20test=20warnings?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/atoms/IconLinks/IconLinks.test.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/atoms/IconLinks/IconLinks.test.tsx b/src/components/atoms/IconLinks/IconLinks.test.tsx index 957699d..8ba1d59 100644 --- a/src/components/atoms/IconLinks/IconLinks.test.tsx +++ b/src/components/atoms/IconLinks/IconLinks.test.tsx @@ -14,6 +14,8 @@ const labels: { [key: string]: string } = { VideoIconLink: 'Video-button', ExtrernalIconLink: 'External-link-button', } + +vi.stubGlobal('open', vi.fn()) describe('IconLinks', () => { const open = vi.spyOn(window, 'open')