Skip to content

Commit

Permalink
✅ [Debug] Verify npm version
Browse files Browse the repository at this point in the history
  • Loading branch information
sounisi5011 committed Mar 12, 2023
1 parent 28697b9 commit 70250e2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -595,6 +595,10 @@ test('CLI should add Git tag with customized tag prefix by npm', async (t) => {
'Git tag should not exist yet',
);

t.like(await exec(['npm', '--version']), {
stdout: '7.24.2',
stderr: '',
});
await t.notThrowsAsync(
exec(['npm', 'exec', '--no', PKG_DATA.name]),
'CLI should exits successfully',
Expand Down

0 comments on commit 70250e2

Please sign in to comment.