Skip to content

Commit

Permalink
fix typing issue (caused by previous deps update)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nerivec committed Feb 1, 2025
1 parent 9ca2796 commit e6bffa5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/ghw_reprocess_all_images.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,7 @@ describe('Github Workflow: Re-Process All Images', () => {
ok: fetchReturnedStatus.ok,
status: fetchReturnedStatus.status,
body: fetchReturnedStatus.body,
// @ts-expect-error Buffer <> ArrayBuffer (props not used)
arrayBuffer: (): ArrayBuffer => readFileSync(getImageOriginalDirPath((input as string).split('/').pop()!)),
};
},
Expand Down Expand Up @@ -762,6 +763,7 @@ describe('Github Workflow: Re-Process All Images', () => {
ok: fetchReturnedStatus.ok,
status: fetchReturnedStatus.status,
body: fetchReturnedStatus.body,
// @ts-expect-error Buffer <> ArrayBuffer (props not used)
arrayBuffer: (): ArrayBuffer => readFileSync(getImageOriginalDirPath(fileName)),
};
},
Expand Down
1 change: 1 addition & 0 deletions tests/process_firmware_image.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ describe('Process Firmware Image', () => {
ok: fetchReturnedStatus.ok,
status: fetchReturnedStatus.status,
body: fetchReturnedStatus.body,
// @ts-expect-error Buffer <> ArrayBuffer (props not used)
arrayBuffer: (): ArrayBuffer => readFileSync(getImageOriginalDirPath(input as string)),
};
},
Expand Down

0 comments on commit e6bffa5

Please sign in to comment.