From 70250e277ebe91524a2b1f169627a42c0a80b7ed Mon Sep 17 00:00:00 2001 From: Sonishi Izuka Date: Mon, 13 Mar 2023 06:19:52 +0900 Subject: [PATCH] =?UTF-8?q?=E2=9C=85=20[Debug]=20Verify=20npm=20version?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/index.ts | 4 ++++ 1 file changed, 4 insertions(+) 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',