Update MkAd.stories.impl.ts

This commit is contained in:
Kagami Sascha Rosylight 2023-07-13 02:23:32 +02:00
parent 0370b4dfab
commit 5d4ab609f5
1 changed files with 1 additions and 0 deletions

View File

@ -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();
} }