Skip to content

Commit

Permalink
Merge pull request #18690 from calixteman/print_test_afterprint
Browse files Browse the repository at this point in the history
In the autoprint integration test, resolve the promise on 'afterprint' event
  • Loading branch information
calixteman authored Sep 4, 2024
2 parents 4fb045b + 5d622ad commit e3fd62d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/scripting_spec.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -1764,7 +1764,7 @@ describe("Interaction", () => {
},
eventBusSetup: eventBus => {
eventBus.on(
"print",
"afterprint",
() => {
window.PDFViewerApplication._testPrintResolver.resolve();
},
Expand Down

0 comments on commit e3fd62d

Please sign in to comment.