Skip to content

Commit

Permalink
update the test case to only include --version for printing the version
Browse files Browse the repository at this point in the history
  • Loading branch information
gyz0072004 committed Oct 22, 2024
1 parent 1e66610 commit 17ca5c3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ describe('bin', () => {
it('should return the version', cb => {
const cp = execFile('node', [
path.resolve(__dirname, '..', pkg.bin.yo),
'--version',
'--no-update-notifier'
'--version'
]);
const expected = pkg.version;

Expand Down

0 comments on commit 17ca5c3

Please # to comment.