Skip to content

Commit

Permalink
In the autoprint integration test, resolve the promise on 'afterprint…
Browse files Browse the repository at this point in the history
…' event
  • Loading branch information
calixteman committed Sep 4, 2024
1 parent 1cdaaad commit 5d622ad
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 5d622ad

Please sign in to comment.