Skip to content

Commit

Permalink
adjust test naming
Browse files Browse the repository at this point in the history
  • Loading branch information
csandru-plenty committed Oct 31, 2024
1 parent 4528c63 commit ff5f051
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ describe('useNotification', () => {
expect(data.value.length).toBe(5);
});

it('should remove a notification after default timeout (3000ms)', async () => {
it('should remove a notification after default timeout (5000ms)', async () => {
const { data, send } = useNotification();

send({
Expand All @@ -83,7 +83,7 @@ describe('useNotification', () => {
});

expect(data.value.length).toBe(1);

await new Promise((resolve) => setTimeout(resolve, 4000));
expect(data.value.length).toBe(1);

Expand Down

0 comments on commit ff5f051

Please sign in to comment.