Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
LabhanshAgrawal committed Mar 20, 2024
1 parent 0ed964b commit 392fee8
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions test/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,10 @@ test.before(async () => {

test.after(async () => {
await app
.evaluate(
({BrowserWindow}) =>
BrowserWindow.getFocusedWindow()
?.capturePage()
.then((img) => img.toPNG().toString('base64'))
.evaluate(({BrowserWindow}) =>
BrowserWindow.getFocusedWindow()
?.capturePage()
.then((img) => img.toPNG().toString('base64'))
)
.then((img) => Buffer.from(img || '', 'base64'))
.then(async (imageBuffer) => {
Expand Down

0 comments on commit 392fee8

Please sign in to comment.