forked from mirror/misskey
Update MkAd.stories.impl.ts
This commit is contained in:
parent
0370b4dfab
commit
5d4ab609f5
@ -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 New Issue
Block a user