mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-07-27 01:17:22 +02:00
In the autoprint integration test, resolve the promise on 'afterprint' event
This commit is contained in:
parent
1cdaaadf2d
commit
5d622ada04
@ -1764,7 +1764,7 @@ describe("Interaction", () => {
|
|||||||
},
|
},
|
||||||
eventBusSetup: eventBus => {
|
eventBusSetup: eventBus => {
|
||||||
eventBus.on(
|
eventBus.on(
|
||||||
"print",
|
"afterprint",
|
||||||
() => {
|
() => {
|
||||||
window.PDFViewerApplication._testPrintResolver.resolve();
|
window.PDFViewerApplication._testPrintResolver.resolve();
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user