Merge pull request #18690 from calixteman/print_test_afterprint
In the autoprint integration test, resolve the promise on 'afterprint' event
This commit is contained in:
commit
e3fd62d726
@ -1764,7 +1764,7 @@ describe("Interaction", () => {
|
||||
},
|
||||
eventBusSetup: eventBus => {
|
||||
eventBus.on(
|
||||
"print",
|
||||
"afterprint",
|
||||
() => {
|
||||
window.PDFViewerApplication._testPrintResolver.resolve();
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user