Fix the event name in some integration tests (follow-up of #20788)

This commit is contained in:
Calixte Denizet 2026-03-05 20:24:35 +01:00
parent 4d0709c174
commit 8540897e54
No known key found for this signature in database
GPG Key ID: 0C5442631EE0691F
2 changed files with 2 additions and 2 deletions

View File

@ -2203,7 +2203,7 @@ describe("FreeText Editor", () => {
100, 100,
{ {
eventBusSetup: eventBus => { eventBusSetup: eventBus => {
eventBus.on("annotationeditorstateschanged", ({ details }) => { eventBus.on("editingstateschanged", ({ details }) => {
window.editingEvents?.push(details); window.editingEvents?.push(details);
}); });
}, },

View File

@ -857,7 +857,7 @@ describe("Highlight Editor", () => {
{ {
eventBusSetup: eventBus => { eventBusSetup: eventBus => {
window.editingEvents = []; window.editingEvents = [];
eventBus.on("annotationeditorstateschanged", ({ details }) => { eventBus.on("editingstateschanged", ({ details }) => {
window.editingEvents.push(details); window.editingEvents.push(details);
}); });
}, },