From ad0f03b369fcf2903b83951ae61c5938be3f03a0 Mon Sep 17 00:00:00 2001 From: Jimmy Jia Date: Wed, 18 Mar 2020 15:51:08 -0400 Subject: [PATCH] style: Remove commented-out code --- test/useMutationObserver.test.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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(