From dc71fb4cc41a603d0d9a93a1c9f09bb4c11cca4b Mon Sep 17 00:00:00 2001 From: Julian lechner Date: Thu, 17 Sep 2026 21:48:49 +0200 Subject: [PATCH] test(install-options): feed the new reinstall prompt answer The entrypoint test now supplies a fourth answer for the "Uninstall ... and reinstall via npm?" prompt install.ps1/install.sh ask after the existing three install options. Co-Authored-By: Claude Sonnet 5 --- scripts/test-install-options.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/test-install-options.py b/scripts/test-install-options.py index dc3622e..cd7ef13 100644 --- a/scripts/test-install-options.py +++ b/scripts/test-install-options.py @@ -184,7 +184,7 @@ class InstallOptionsTests(unittest.TestCase): 'select_configured_plugins() { :; }\nsync_configured_plugins() { :; }\n' 'run_plugin_command() { printf "CLI-MOCK %s\\n" "$2"; }\n') environment = dict(os.environ, HOME=home.as_posix(), TEST_INSTALL_HOME=str(home)) - for name, quick, answers in [('install', False, 'y\nn\nn\n'), ('update', True, '')]: + for name, quick, answers in [('install', False, 'y\nn\nn\nn\n'), ('update', True, '')]: entry = str(scripts / (name + '.' + suffix)) command = ([executable, '-NoProfile', '-File', entry, '-Shell', 'Bash', '-Client', 'Both', '-Summary'] if kind == 'powershell' else [executable, entry, '--shell', 'bash', '--client', 'both', '--summary'])