1
0
forked from mirror/misskey

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

View File

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