diff --git a/test/useMutationObserver.test.tsx b/test/useMutationObserver.test.tsx index 11174fc..94c0eca 100644 --- a/test/useMutationObserver.test.tsx +++ b/test/useMutationObserver.test.tsx @@ -64,13 +64,12 @@ describe('useMutationObserver', () => { await Promise.resolve() - // console.log(spy.mock.calls[0][0][0].attributes) expect(spy).toHaveBeenCalledTimes(0) wrapper.setProps({ attributeFilter: undefined, role: 'button' }) await Promise.resolve() - // console.log(spy.mock.calls[1][0][0].target) + expect(spy).toHaveBeenCalledTimes(1) expect(spy).toHaveBeenCalledWith(