From 414117b9e66b010f191085cf4e2031d2cdc2efca Mon Sep 17 00:00:00 2001 From: Aaron Date: Sun, 12 Apr 2026 23:11:19 -0500 Subject: [PATCH] chore: Fix flakey test (#2254) --- packages/wxt/src/core/package-managers/__tests__/pnpm.test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/wxt/src/core/package-managers/__tests__/pnpm.test.ts b/packages/wxt/src/core/package-managers/__tests__/pnpm.test.ts index 2ae4c56e..8639542a 100644 --- a/packages/wxt/src/core/package-managers/__tests__/pnpm.test.ts +++ b/packages/wxt/src/core/package-managers/__tests__/pnpm.test.ts @@ -6,8 +6,9 @@ import { pnpm } from '../pnpm'; process.env.WXT_PNPM_IGNORE_WORKSPACE = 'true'; describe('PNPM Package Management Utils', () => { - describe('listDependencies', () => { + describe('listDependencies', { timeout: 30e3 }, () => { const cwd = path.resolve(__dirname, 'fixtures/simple-pnpm-project'); + beforeAll(async () => { // PNPM needs the modules installed, or 'pnpm ls' will return a blank list. await spawn('pnpm', ['install'], { cwd });