mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-04-13 00:34:04 +02:00
Merge pull request #20812 from calixteman/context_menu_follow_up
Fix the event name in some integration tests (follow-up of #20788)
This commit is contained in:
commit
55fe04657b
@ -2203,7 +2203,7 @@ describe("FreeText Editor", () => {
|
||||
100,
|
||||
{
|
||||
eventBusSetup: eventBus => {
|
||||
eventBus.on("annotationeditorstateschanged", ({ details }) => {
|
||||
eventBus.on("editingstateschanged", ({ details }) => {
|
||||
window.editingEvents?.push(details);
|
||||
});
|
||||
},
|
||||
|
||||
@ -857,7 +857,7 @@ describe("Highlight Editor", () => {
|
||||
{
|
||||
eventBusSetup: eventBus => {
|
||||
window.editingEvents = [];
|
||||
eventBus.on("annotationeditorstateschanged", ({ details }) => {
|
||||
eventBus.on("editingstateschanged", ({ details }) => {
|
||||
window.editingEvents.push(details);
|
||||
});
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user