Skip to content

Commit

Permalink
style: fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
PascalinDe committed Feb 13, 2024
1 parent 36b99cf commit 36b9486
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions web/frontend/tests/forms.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,14 +103,11 @@ async function assertIsOnlyVisibleInStates(
});
}
for (const i of [0, 1, 2, 3, 4, 5].filter((x) => !states.includes(x))) {
await test.step(
`Assert is not visible in form state '${prettyFormStates.at(i)}'`,
async () => {
await setUpMocks(page, i, dkgActorsStatus === undefined ? 6 : dkgActorsStatus, initialized);
await page.reload({ waitUntil: 'networkidle' });
await expect(locator).toBeHidden();
}
);
await test.step(`Assert is not visible in form state '${prettyFormStates.at(i)}'`, async () => {
await setUpMocks(page, i, dkgActorsStatus === undefined ? 6 : dkgActorsStatus, initialized);
await page.reload({ waitUntil: 'networkidle' });
await expect(locator).toBeHidden();
});
}
}

Expand Down

0 comments on commit 36b9486

Please sign in to comment.