]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
fix(test): use LaunchOptions instead of PuppeteerLaunchOptions (#12734)
authoredison <daiwei521@126.com>
Fri, 17 Jan 2025 01:26:12 +0000 (09:26 +0800)
committerGitHub <noreply@github.com>
Fri, 17 Jan 2025 01:26:12 +0000 (09:26 +0800)
ref puppeteer/puppeteer#13426

packages/vue/__tests__/e2e/e2eUtils.ts

index 8a63e0a3530aaf3e98403e8e307be916b02d2e4e..1ed5322d1f043a4c9efe5cca256432eefe6fc176 100644 (file)
@@ -1,13 +1,13 @@
 import puppeteer, {
   type Browser,
   type ClickOptions,
+  type LaunchOptions,
   type Page,
-  type PuppeteerLaunchOptions,
 } from 'puppeteer'
 
 export const E2E_TIMEOUT: number = 30 * 1000
 
-const puppeteerOptions: PuppeteerLaunchOptions = {
+const puppeteerOptions: LaunchOptions = {
   args: process.env.CI ? ['--no-sandbox', '--disable-setuid-sandbox'] : [],
   headless: true,
 }