mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-24 20:23:08 +02:00
Update MkAd.stories.impl.ts
This commit is contained in:
parent
0370b4dfab
commit
5d4ab609f5
1 changed files with 1 additions and 0 deletions
|
@ -53,6 +53,7 @@ const common = {
|
|||
await expect(back).toHaveTextContent(i18n.ts._ad.back);
|
||||
await userEvent.click(back);
|
||||
await waitFor(() => expect(canvas.queryByRole('img')).toBeTruthy());
|
||||
await tick();
|
||||
if (reduce) {
|
||||
await expect(reduce).not.toBeInTheDocument();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue