mirror of
https://github.com/glittercowboy/get-shit-done
synced 2026-04-25 17:25:23 +02:00
fix: move Kilo above OpenCode in installer
This commit is contained in:
@@ -148,6 +148,12 @@ describe('Source code integration (Copilot)', () => {
|
||||
assert.ok(allMatch && allMatch[1].includes('copilot'), 'allRuntimes includes copilot');
|
||||
});
|
||||
|
||||
test('CLI-02: promptRuntime keeps Kilo above OpenCode in allRuntimes', () => {
|
||||
const allMatch = src.match(/const allRuntimes = \[([^\]]+)\]/);
|
||||
assert.ok(allMatch, 'allRuntimes array found');
|
||||
assert.ok(allMatch[1].indexOf("'kilo'") < allMatch[1].indexOf("'opencode'"), 'kilo appears before opencode');
|
||||
});
|
||||
|
||||
test('isCopilot variable exists in install function', () => {
|
||||
assert.ok(src.includes("const isCopilot = runtime === 'copilot'"), 'isCopilot defined');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user