✅ test(atoms): cleanup IconLinks test warnings
This commit is contained in:
@@ -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')
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user