Fix lint error and snapshot

This commit is contained in:
Mark Tolmacs 2025-03-19 11:59:27 +01:00
parent 126c7caabc
commit 37531769d1
2 changed files with 4 additions and 2 deletions

View file

@ -254,7 +254,7 @@ describe("actionDuplicateSelection", () => {
act(() => { act(() => {
h.app.actionManager.executeAction(actionDuplicateSelection); h.app.actionManager.executeAction(actionDuplicateSelection);
}); });
console.log(h.elements, h.state.selectedElementIds);
assertElements(h.elements, [ assertElements(h.elements, [
{ id: frame.id }, { id: frame.id },
{ id: text.id, frameId: frame.id }, { id: text.id, frameId: frame.id },

View file

@ -1185,7 +1185,9 @@ exports[`contextMenu element > selecting 'Add to library' in context menu adds e
}, },
"suggestedBindings": [], "suggestedBindings": [],
"theme": "light", "theme": "light",
"toast": null, "toast": {
"message": "Added to library",
},
"userToFollow": null, "userToFollow": null,
"viewBackgroundColor": "#ffffff", "viewBackgroundColor": "#ffffff",
"viewModeEnabled": false, "viewModeEnabled": false,