Skip to content

Commit

Permalink
update teest
Browse files Browse the repository at this point in the history
  • Loading branch information
notbucai committed Nov 22, 2021
1 parent bda7950 commit e5c8730
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/__test__/index.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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<any>(opt, {
Expand Down

0 comments on commit e5c8730

Please sign in to comment.