mirror of
https://mirror.skon.top/github.com/langgenius/dify.git
synced 2026-04-20 23:40:16 +08:00
tweaks
This commit is contained in:
@@ -150,7 +150,7 @@ describe('base/ui/toast', () => {
|
||||
})
|
||||
await expect.element(screen.getByText('Custom timeout')).toBeInTheDocument()
|
||||
|
||||
await vi.advanceTimersByTimeAsync(1000)
|
||||
await vi.advanceTimersByTimeAsync(1010)
|
||||
await vi.waitFor(() => {
|
||||
expect(document.body).not.toHaveTextContent('Custom timeout')
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user