From e5c8730fa4d2f49109e4b0df22ee614475f611da Mon Sep 17 00:00:00 2001 From: bucai <1450941858@qq.com> Date: Mon, 22 Nov 2021 12:27:35 +0800 Subject: [PATCH] update teest --- src/__test__/index.spec.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/__test__/index.spec.tsx b/src/__test__/index.spec.tsx index 71fe0f1..81e7d86 100644 --- a/src/__test__/index.spec.tsx +++ b/src/__test__/index.spec.tsx @@ -8,10 +8,10 @@ import flushPromises from 'flush-promises' window.ResizeObserver = window.ResizeObserver || jest.fn().mockImplementation(() => ({ - disconnect: jest.fn(), - observe: jest.fn(), - unobserve: jest.fn(), -})); + disconnect: jest.fn(), + observe: jest.fn(), + unobserve: jest.fn(), +})) const mount = (opt: any) => _mount(opt, {