mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
dependencies: Upgrade JavaScript dependencies.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
f6be163bcc
commit
9dd4dc08fd
@@ -94,9 +94,8 @@ export async function screenshot(page: Page, name: string | null = null): Promis
|
||||
screenshot_id += 1;
|
||||
}
|
||||
|
||||
const screenshot_path = path.join(puppeteer_dir, `${name}.png`);
|
||||
await page.screenshot({
|
||||
path: screenshot_path,
|
||||
path: `${path.join(puppeteer_dir, name)}.png`,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user