From 37155c7e38b4375c395969e501e4769e4cc0c23f Mon Sep 17 00:00:00 2001 From: Mike McCready <66998419+MikeMcC399@users.noreply.github.com> Date: Wed, 19 Aug 2026 16:57:20 +0200 Subject: [PATCH] test: use npm_config_extra_param for npm custom install test changed for npm 12 compatibility which otherwise throws an error for unknown cli flags Signed-off-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com> --- test/npm/test-npm-install.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/npm/test-npm-install.js b/test/npm/test-npm-install.js index e13e4953..812774a6 100644 --- a/test/npm/test-npm-install.js +++ b/test/npm/test-npm-install.js @@ -46,7 +46,7 @@ test('npm-install: custom install command', async (t) => { const context = npmContext( { name: 'omg-i-pass-with-install-param', - install: ['install', '--extra-param'] + envVar: { npm_config_extra_param: 'true' } }, packageManagers, sandbox,