test(app): isolate clipboard notification state

This commit is contained in:
Danila Poyarkov 2026-07-20 18:24:32 +03:00
parent 2348b1c972
commit 2086bcc3d7

View file

@ -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 = []
})