Skip to content

Commit

Permalink
Fixes for changed type information
Browse files Browse the repository at this point in the history
  • Loading branch information
danielrozenberg committed Jan 10, 2025
1 parent 3369e19 commit dbc3a36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build-system/tasks/visual-diff/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function locateChromeExecutablePath() {
* @return {!Promise<!puppeteer.Browser>} a Puppeteer controlled browser.
*/
async function launchBrowser() {
/** @type {import('puppeteer-core').PuppeteerLaunchOptions} */
/** @type {import('puppeteer-core').LaunchOptions} */
const browserOptions = {
args: [
'--disable-background-media-suspend',
Expand Down Expand Up @@ -107,7 +107,7 @@ async function newPage(browser, viewport = null) {
);
return interceptedRequest.respond({
status: 200,
body: fs.readFileSync(mockedFilepath),
body: new Uint8Array(fs.readFileSync(mockedFilepath)),
});
} else {
log(
Expand Down

0 comments on commit dbc3a36

Please sign in to comment.