Fix tests that depended on canvas renderer

This commit is contained in:
Daniel Imms
2022-07-27 10:33:10 -07:00
parent 1c6ce99419
commit 48cfd23219
3 changed files with 8 additions and 14 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ export function getBrowserType(): playwright.BrowserType<playwright.WebKitBrowse
return browserType;
}
export function launchBrowser() {
export function launchBrowser(): Promise<playwright.Browser> {
const browserType = getBrowserType();
const options: Record<string, unknown> = {
headless: process.argv.includes('--headless')