chore: Fix flakey test (#2254)

This commit is contained in:
Aaron
2026-04-12 23:11:19 -05:00
committed by GitHub
parent 799bd92b28
commit 414117b9e6
@@ -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 });