diff options
Diffstat (limited to 'packages/integrations/prefetch/playwright.config.js')
-rw-r--r-- | packages/integrations/prefetch/playwright.config.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/integrations/prefetch/playwright.config.js b/packages/integrations/prefetch/playwright.config.js index c8353201f..d9600393e 100644 --- a/packages/integrations/prefetch/playwright.config.js +++ b/packages/integrations/prefetch/playwright.config.js @@ -1,4 +1,7 @@ -import { devices } from '@playwright/test'; +// NOTE: Prefetch tests fail with `TypeError: process.stdout.clearLine is not a function` +// for some reason. This comes from Vite, and is conditionally called based on `isTTY`. +// We set it to false here to skip this odd behavior. +process.stdout.isTTY = false; const config = { testMatch: 'test/*.test.js', |