Skip to content

Commit

Permalink
style: update
Browse files Browse the repository at this point in the history
  • Loading branch information
liuyib committed Jun 4, 2024
1 parent 67e106b commit 73032f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/hooks/src/useResetState/__tests__/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ describe('useResetState', () => {
const hook = setUp({
count: random,
});

act(() => {
hook.result.current.setState({ count: Math.random() });
});
Expand Down

0 comments on commit 73032f9

Please sign in to comment.