Skip to content

Commit 3ea730f

Browse files
authored
test: only run pnp case for test-compiled (#389)
1 parent 1c8b9ae commit 3ea730f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/fixtures.spec.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@ import path from 'node:path'
22

33
import { exec } from 'tinyexec'
44

5+
import { testCompiled } from './utils.js'
6+
57
const TIMEOUT = 60_000
68

7-
describe('yarn pnp', () => {
9+
;(testCompiled ? describe : describe.skip)('yarn pnp', () => {
810
const yarnPnpDir = path.resolve('test/fixtures/yarn-pnp')
911
const execOptions = { nodeOptions: { cwd: yarnPnpDir } }
1012

0 commit comments

Comments
 (0)