Skip to content

Commit

Permalink
test: up
Browse files Browse the repository at this point in the history
  • Loading branch information
waitingsong committed Jun 28, 2024
1 parent a4f8656 commit 001d350
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@ describe(fileShortPath(import.meta.url), () => {

const info6 = await GetPrinter({ hPrinter: hwnd, Level: 6 })
assert(info6)
assert(info6.dwStatus === PRINTER_STATUS.PRINTER_STATUS_PAUSED, info6.dwStatus.toString())
assert(
info6.dwStatus === PRINTER_STATUS.PRINTER_STATUS_PAUSED || info6.dwStatus === PRINTER_STATUS.unknown,
info6.dwStatus.toString(),
)

await sleep(500)
assert(await EndDocPrinter(hwnd), 'EndDocPrinter() failed')
Expand Down

0 comments on commit 001d350

Please sign in to comment.