fix(08-02): update agent-skills-routes test expectations for rewritten bundles

[Rule 1 - Bug] Tests expected old upstream bundle content strings (You are the CEO.,
CEO Heartbeat Checklist, CEO Persona, Keep the work moving until it is done.)
but Phase 08-01 rewrote all CEO and engineer bundles with PM-focused content.
Updated assertions to match actual bundle output.
This commit is contained in:
Mikkel Georgsen 2026-04-01 00:17:22 +02:00 committed by Nexus Dev
parent 32db9f62f1
commit b061fffd2c

View file

@ -402,10 +402,10 @@ describe("agent skill routes", () => {
adapterType: "claude_local", adapterType: "claude_local",
}), }),
expect.objectContaining({ expect.objectContaining({
"AGENTS.md": expect.stringContaining("You are the CEO."), "AGENTS.md": expect.stringContaining("You are the Project Manager for this Nexus workspace."),
"HEARTBEAT.md": expect.stringContaining("CEO Heartbeat Checklist"), "HEARTBEAT.md": expect.stringContaining("Project Manager Task Loop"),
"SOUL.md": expect.stringContaining("CEO Persona"), "SOUL.md": expect.stringContaining("Project Manager Persona"),
"TOOLS.md": expect.stringContaining("# Tools"), "TOOLS.md": expect.stringContaining("# TOOLS.md"),
}), }),
{ entryFile: "AGENTS.md", replaceExisting: false }, { entryFile: "AGENTS.md", replaceExisting: false },
); );
@ -429,7 +429,7 @@ describe("agent skill routes", () => {
adapterType: "claude_local", adapterType: "claude_local",
}), }),
expect.objectContaining({ expect.objectContaining({
"AGENTS.md": expect.stringContaining("Keep the work moving until it's done."), "AGENTS.md": expect.stringContaining("You are a Senior Engineer in this Nexus workspace."),
}), }),
{ entryFile: "AGENTS.md", replaceExisting: false }, { entryFile: "AGENTS.md", replaceExisting: false },
); );