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 expect(back).toHaveTextContent(i18n.ts._ad.back);
|
||||||
await userEvent.click(back);
|
await userEvent.click(back);
|
||||||
await waitFor(() => expect(canvas.queryByRole('img')).toBeTruthy());
|
await waitFor(() => expect(canvas.queryByRole('img')).toBeTruthy());
|
||||||
|
await tick();
|
||||||
if (reduce) {
|
if (reduce) {
|
||||||
await expect(reduce).not.toBeInTheDocument();
|
await expect(reduce).not.toBeInTheDocument();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue