Skip to content

Commit e3fd62d

Browse files
authored
Merge pull request #18690 from calixteman/print_test_afterprint
In the autoprint integration test, resolve the promise on 'afterprint' event
2 parents 4fb045b + 5d622ad commit e3fd62d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/integration/scripting_spec.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1764,7 +1764,7 @@ describe("Interaction", () => {
17641764
},
17651765
eventBusSetup: eventBus => {
17661766
eventBus.on(
1767-
"print",
1767+
"afterprint",
17681768
() => {
17691769
window.PDFViewerApplication._testPrintResolver.resolve();
17701770
},

0 commit comments

Comments
 (0)