Skip to content

Commit 7c02c07

Browse files
committed
test fixed
1 parent 926799c commit 7c02c07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/ToastContainer/__tests__/ToastContainer.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ describe('ToastContainer', () => {
8282
},
8383
);
8484

85-
expect(setTimeout).toHaveBeenCalledTimes(4);
85+
expect(setTimeout).toHaveBeenCalledTimes(1);
8686
setTimeout(() => {
8787
expect(getByText('Testing toast timeout')).toBeFalsy();
8888
}, 3000);

0 commit comments

Comments
 (0)