diff --git a/tests/engine/app/clipboard/notifications.test.ts b/tests/engine/app/clipboard/notifications.test.ts index bc16a61b4..7affd8255 100644 --- a/tests/engine/app/clipboard/notifications.test.ts +++ b/tests/engine/app/clipboard/notifications.test.ts @@ -1,8 +1,12 @@ -import { afterEach, describe, expect, test } from 'bun:test' +import { afterEach, beforeEach, describe, expect, test } from 'bun:test' import { notifyClipboardImageResolution } from '@/app/editor/clipboard/notifications' import { toast } from '@/app/shell/ui' +beforeEach(() => { + toast.toasts.value = [] +}) + afterEach(() => { toast.toasts.value = [] })