Skip to content

Commit 994ab66

Browse files
authored
test(create-vite): use short help alias (#22389)
1 parent 7c3a61f commit 994ab66

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/create-vite/__tests__/cli.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ test('return help usage how to use create-vite', () => {
222222
})
223223

224224
test('return help usage how to use create-vite with -h alias', () => {
225-
const { stdout } = run(['--h'], { cwd: import.meta.dirname })
225+
const { stdout } = run(['-h'], { cwd: import.meta.dirname })
226226
const message = 'Usage: create-vite [OPTION]... [DIRECTORY]'
227227
expect(stdout).toContain(message)
228228
})

0 commit comments

Comments
 (0)