Skip to content

Commit

Permalink
fix(test): use LaunchOptions instead of PuppeteerLaunchOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
edison1105 committed Jan 17, 2025
1 parent 2e6ec39 commit 360c22c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/vue/__tests__/e2e/e2eUtils.ts
Original file line number Diff line number Diff line change
@@ -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,
}
Expand Down

0 comments on commit 360c22c

Please sign in to comment.