fix(tests): update copilot skill count assertions for ship and next commands

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Lex Christopherson
2026-03-18 10:16:26 -06:00
parent 641a4fc15a
commit fc468adb42

View File

@@ -625,7 +625,7 @@ describe('copyCommandsAsCopilotSkills', () => {
// Count gsd-* directories — should be 31
const dirs = fs.readdirSync(tempDir, { withFileTypes: true })
.filter(e => e.isDirectory() && e.name.startsWith('gsd-'));
assert.strictEqual(dirs.length, 40, `expected 40 skill folders, got ${dirs.length}`);
assert.strictEqual(dirs.length, 42, `expected 42 skill folders, got ${dirs.length}`);
} finally {
fs.rmSync(tempDir, { recursive: true });
}
@@ -1119,7 +1119,7 @@ const { execFileSync } = require('child_process');
const crypto = require('crypto');
const INSTALL_PATH = path.join(__dirname, '..', 'bin', 'install.js');
const EXPECTED_SKILLS = 40;
const EXPECTED_SKILLS = 42;
const EXPECTED_AGENTS = 16;
function runCopilotInstall(cwd) {