Henrique Gabriel Moraes Denoni
Results
comments of
Henrique Gabriel Moraes Denoni
Hi, i managed to solve this I mocked the execCommand function before mounting the component. window.document.execCommand = vi.fn() (vitest) window.document.execCommand = jest.fn(); (jest)