mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-10 02:49:57 +02:00
feat: move contextMenu into the component tree and control via appState (#6021)
This commit is contained in:
@@ -152,7 +152,7 @@ describe("element locking", () => {
|
||||
expect(contextMenu).not.toBeNull();
|
||||
expect(
|
||||
contextMenu?.querySelector(
|
||||
`li[data-testid="toggleLock"] .context-menu-option__label`,
|
||||
`li[data-testid="toggleLock"] .context-menu-item__label`,
|
||||
),
|
||||
).toHaveTextContent(t("labels.elementLock.unlock"));
|
||||
});
|
||||
|
Reference in New Issue
Block a user