Skip to content

Commit 285c872

Browse files
committed
update tests
1 parent 44358de commit 285c872

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ describe('install command generation', () => {
295295
['yarn', ['npx', 'eslint']],
296296
['bun', ['bunx', 'eslint']],
297297
['deno', ['deno', 'run', 'npm:eslint']],
298-
['vlt', ['vlt', 'x', 'eslint']],
298+
['vlt', ['vlx', 'eslint']],
299299
] as const)('%s → %s', (pm, expected) => {
300300
expect(
301301
getExecuteCommandParts({
@@ -314,7 +314,7 @@ describe('install command generation', () => {
314314
['yarn', ['yarn', 'dlx', 'degit']],
315315
['bun', ['bunx', 'degit']],
316316
['deno', ['deno', 'run', 'npm:degit']],
317-
['vlt', ['vlt', 'x', 'degit']],
317+
['vlt', ['vlx', 'degit']],
318318
] as const)('%s → %s', (pm, expected) => {
319319
expect(
320320
getExecuteCommandParts({
@@ -333,7 +333,7 @@ describe('install command generation', () => {
333333
['yarn', ['yarn', 'create', 'vite']],
334334
['bun', ['bun', 'create', 'vite']],
335335
['deno', ['deno', 'run', 'vite']],
336-
['vlt', ['vlt', 'x', 'vite']],
336+
['vlt', ['vlx', 'vite']],
337337
] as const)('%s → %s', (pm, expected) => {
338338
expect(
339339
getExecuteCommandParts({

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ describe('executable detection and run commands', () => {
8484
['yarn', ['npx', 'eslint']],
8585
['bun', ['bunx', 'eslint']],
8686
['deno', ['deno', 'run', 'npm:eslint']],
87-
['vlt', ['vlt', 'x', 'eslint']],
87+
['vlt', ['vlx', 'eslint']],
8888
] as const)('%s (local) → %s', (pm, expected) => {
8989
expect(
9090
getRunCommandParts({
@@ -102,7 +102,7 @@ describe('executable detection and run commands', () => {
102102
['yarn', ['yarn', 'dlx', 'create-vite']],
103103
['bun', ['bunx', 'create-vite']],
104104
['deno', ['deno', 'run', 'npm:create-vite']],
105-
['vlt', ['vlt', 'x', 'create-vite']],
105+
['vlt', ['vlx', 'create-vite']],
106106
] as const)('%s (remote) → %s', (pm, expected) => {
107107
expect(
108108
getRunCommandParts({

0 commit comments

Comments
 (0)