mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-10 05:12:14 +00:00
Wrap the widened assertion the way prettier wants it
This commit is contained in:
1 parent
7cfe13db8c
commit
1b183f64fe
1 file changed
+3
-1
@@ -392,7 +392,9 @@ test.describe("document vault", () => {
|
||||
await sheet.getByRole("button", { name: "Delete" }).click();
|
||||
|
||||
// Undo toast → restore → the card returns.
|
||||
await expect(page.getByText("Document deleted", { exact: true })).toBeVisible();
|
||||
await expect(
|
||||
page.getByText("Document deleted", { exact: true }),
|
||||
).toBeVisible();
|
||||
await expect(openButton(page, `${title}.pdf`)).not.toBeVisible();
|
||||
await page.getByRole("button", { name: "Undo" }).click();
|
||||
await expect(openButton(page, `${title}.pdf`)).toBeVisible();
|
||||
|
||||
Reference in new issue
Block a user