test: update agent count for new gsd-advisor-researcher agent
This commit is contained in:
@@ -746,10 +746,10 @@ describe('Copilot agent conversion - real files', () => {
|
||||
assert.ok(toolsLine.includes("'read'"), 'Read mapped');
|
||||
});
|
||||
|
||||
test('all 16 agents convert without error', () => {
|
||||
test('all 17 agents convert without error', () => {
|
||||
const agents = fs.readdirSync(agentsSrc)
|
||||
.filter(f => f.startsWith('gsd-') && f.endsWith('.md'));
|
||||
assert.strictEqual(agents.length, 16, `expected 16 agents, got ${agents.length}`);
|
||||
assert.strictEqual(agents.length, 17, `expected 17 agents, got ${agents.length}`);
|
||||
|
||||
for (const agentFile of agents) {
|
||||
const content = fs.readFileSync(path.join(agentsSrc, agentFile), 'utf8');
|
||||
@@ -1120,7 +1120,7 @@ const crypto = require('crypto');
|
||||
|
||||
const INSTALL_PATH = path.join(__dirname, '..', 'bin', 'install.js');
|
||||
const EXPECTED_SKILLS = 50;
|
||||
const EXPECTED_AGENTS = 16;
|
||||
const EXPECTED_AGENTS = 17;
|
||||
|
||||
function runCopilotInstall(cwd) {
|
||||
const env = { ...process.env };
|
||||
@@ -1188,6 +1188,7 @@ describe('E2E: Copilot full install verification', () => {
|
||||
const files = fs.readdirSync(agentsDir);
|
||||
const gsdAgents = files.filter(f => f.startsWith('gsd-') && f.endsWith('.agent.md')).sort();
|
||||
const expected = [
|
||||
'gsd-advisor-researcher.agent.md',
|
||||
'gsd-codebase-mapper.agent.md',
|
||||
'gsd-debugger.agent.md',
|
||||
'gsd-executor.agent.md',
|
||||
|
||||
Reference in New Issue
Block a user