From b74aff84f6f32c8dde8c1bb4478eee0317c69c91 Mon Sep 17 00:00:00 2001 From: Mike McCready <66998419+MikeMcC399@users.noreply.github.com> Date: Wed, 19 Aug 2026 17:44:40 +0200 Subject: [PATCH] test: use npm_config_allow_git all to install from git source changed for npm 12 compatibility which otherwise throws an error EALLOWGIT when attempting to install from a git source Signed-off-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com> --- test/test-citgm.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/test-citgm.js b/test/test-citgm.js index 23566c4c..a35abeda 100644 --- a/test/test-citgm.js +++ b/test/test-citgm.js @@ -40,6 +40,7 @@ test('citgm: omg-i-pass from git url', (t) => { const mod = 'git+https://github.com/MylesBorins/omg-i-pass'; const tester = new Tester(mod, options); + tester.module.envVar = { npm_config_allow_git: 'all' }; tester .on('start', (name) => { t.equal(name, mod, 'it should be the raw URL');