mirror of
https://github.com/Jeuners/ECC.git
synced 2026-09-09 15:02:30 +02:00
test: update getSelectionPrompt test for new no-spawn behavior
The prompt no longer lists "Available package managers" (which required spawning processes) — it now shows "Supported package managers" and mentions lock file detection as a configuration option. All 69 tests pass.
This commit is contained in:
parent
7356fd996f
commit
501bf23ca0
1 changed files with 2 additions and 1 deletions
|
|
@ -335,8 +335,9 @@ function runTests() {
|
|||
|
||||
if (test('returns informative prompt', () => {
|
||||
const prompt = pm.getSelectionPrompt();
|
||||
assert.ok(prompt.includes('Available package managers'), 'Should list available managers');
|
||||
assert.ok(prompt.includes('Supported package managers'), 'Should list supported managers');
|
||||
assert.ok(prompt.includes('CLAUDE_PACKAGE_MANAGER'), 'Should mention env var');
|
||||
assert.ok(prompt.includes('lock file'), 'Should mention lock file option');
|
||||
})) passed++; else failed++;
|
||||
|
||||
// Summary
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue