From eb484387d5816b6f9155ad3a0be79ede3c3d7ad5 Mon Sep 17 00:00:00 2001 From: Max Lampert Date: Fri, 21 Aug 2026 17:20:19 -0700 Subject: [PATCH] chore(desktop): drop unused ORIGINAL_CONTENT from empty-edit-delete spec (#6517) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `biome check` fails with `lint/correctness/noUnusedVariables` on `ORIGINAL_CONTENT` in `desktop/tests/e2e/empty-edit-delete.spec.ts`, which fails `pnpm check` (Desktop Core) for **every PR touching desktop paths** — e.g. it currently blocks #6460. It presumably landed while Desktop Core was path-skipped on the introducing PR. One-line removal; the constant has no remaining references (the assertions use `RENDERED_ORIGINAL_CONTENT`). Signed-off-by: Max Lampert --- desktop/tests/e2e/empty-edit-delete.spec.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/desktop/tests/e2e/empty-edit-delete.spec.ts b/desktop/tests/e2e/empty-edit-delete.spec.ts index 2d8149966f..3c4fec6804 100644 --- a/desktop/tests/e2e/empty-edit-delete.spec.ts +++ b/desktop/tests/e2e/empty-edit-delete.spec.ts @@ -6,7 +6,6 @@ import { installMockBridge } from "../helpers/bridge"; // DEFAULT_MOCK_IDENTITY.pubkey in e2eBridge.ts). Editing/deleting one's own // message is exactly Sam's workflow: "delete a message by clearing its edit." const OWN_MESSAGE_ID = "mock-general-welcome"; -const ORIGINAL_CONTENT = "Welcome to #general"; const RENDERED_ORIGINAL_CONTENT = "Welcome to general"; // Open the more-actions menu for a message row and wait for the menu to mount.