diff --git a/test/index.ts b/test/index.ts index eed048d4..b13e210b 100644 --- a/test/index.ts +++ b/test/index.ts @@ -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',