test(app): isolate clipboard notification state
This commit is contained in:
parent
2348b1c972
commit
2086bcc3d7
|
|
@ -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 = []
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue