diff --git a/tests/playwright-test/expect.spec.ts b/tests/playwright-test/expect.spec.ts index fdf9ee35c4..9e47f5282f 100644 --- a/tests/playwright-test/expect.spec.ts +++ b/tests/playwright-test/expect.spec.ts @@ -543,11 +543,12 @@ test('should respect expect.timeout', async ({ runInlineTest }) => { 'playwright.config.js': `module.exports = { expect: { timeout: 1000 } }`, 'a.test.ts': ` import { test, expect } from '@playwright/test'; + import { stripVTControlCharacters } from 'node:util'; test('timeout', async ({ page }) => { await page.goto('data:text/html,