Skip to content

Commit 4c125f7

Browse files
committed
chore: update tests with npx local exec
1 parent 9b87aa0 commit 4c125f7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

test/unit/app/utils/install-command.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ describe('install command generation', () => {
292292
it.each([
293293
['npm', ['npx', 'eslint']],
294294
['pnpm', ['pnpm', 'exec', 'eslint']],
295-
['yarn', ['yarn', 'eslint']],
295+
['yarn', ['npx', 'eslint']],
296296
['bun', ['bunx', 'eslint']],
297297
['deno', ['deno', 'run', 'npm:eslint']],
298298
['vlt', ['vlt', 'x', 'eslint']],

test/unit/app/utils/run-command.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ describe('executable detection and run commands', () => {
8282
it.each([
8383
['npm', ['npx', 'eslint']],
8484
['pnpm', ['pnpm', 'exec', 'eslint']],
85-
['yarn', ['yarn', 'eslint']],
85+
['yarn', ['npx', 'eslint']],
8686
['bun', ['bunx', 'eslint']],
8787
['deno', ['deno', 'run', 'npm:eslint']],
8888
['vlt', ['vlt', 'x', 'eslint']],

0 commit comments

Comments
 (0)