mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-02-15 19:03:22 +08: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user