This commit is contained in:
Kagami Sascha Rosylight 2023-07-13 01:08:40 +02:00
parent bb2eb57a35
commit 7c4e2b658d

View file

@ -54,7 +54,7 @@ const common = {
if (reduce) { if (reduce) {
await expect(reduce).not.toBeInTheDocument(); await expect(reduce).not.toBeInTheDocument();
} }
await expect(back).not.toBeInTheDocument() await expect(back).not.toBeInTheDocument();
const aAgain = canvas.getByRole<HTMLAnchorElement>('link'); const aAgain = canvas.getByRole<HTMLAnchorElement>('link');
await expect(aAgain).toBeInTheDocument(); await expect(aAgain).toBeInTheDocument();
const imgAgain = within(aAgain).getByRole('img'); const imgAgain = within(aAgain).getByRole('img');