Skip to content

Commit

Permalink
modified test
Browse files Browse the repository at this point in the history
  • Loading branch information
edvardsanta committed Jun 6, 2024
1 parent adfcd0e commit 442b883
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/create-vite/__tests__/cli.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,13 +104,13 @@ test('accepts command line override for --overwrite', () => {
expect(stdout).not.toContain(`Current directory is not empty.`)
})

test('return help usage how to use create-vite with -h alias', () => {
test('return help usage how to use create-vite', () => {
const { stdout } = run(['--help'], { cwd: __dirname })
const message = 'Usage: create-vite [OPTION]... [DIRECTORY]'
expect(stdout).toContain(message)
})

test('return help usage how to use create-vite', () => {
test('return help usage how to use create-vite with -h alias', () => {
const { stdout } = run(['--h'], { cwd: __dirname })
const message = 'Usage: create-vite [OPTION]... [DIRECTORY]'
expect(stdout).toContain(message)
Expand Down

0 comments on commit 442b883

Please sign in to comment.