Skip to content

Commit

Permalink
refac(react): change test code description
Browse files Browse the repository at this point in the history
Co-authored-by: Jonghyeon Ko <[email protected]>
  • Loading branch information
ssi02014 and Jonghyeon Ko authored Oct 27, 2023
1 parent d4bbc68 commit 41fd17c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/hooks/useTimeout.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ describe('useTimeout', () => {
expect(fn).toHaveBeenCalledTimes(1)
})

it('should not be re-called even if the component is re-rendered', () => {
it('should not re-call callback reveived as argument even if component using this hook is rerendered', () => {
const { rerender } = render(<TestComponent />)

expect(screen.getByText('0')).toBeInTheDocument()
Expand Down

0 comments on commit 41fd17c

Please sign in to comment.