fix(test): correct browserProvider assertion to match actual behavior
When browserProvider is not set, agent-browser skill should NOT resolve. Test assertions were inverted — expected 'Skills not found' but asserted the opposite.
This commit is contained in:
parent
fcaaa11a06
commit
a8e3e1ea01
@ -2679,11 +2679,9 @@ describe("sisyphus-task", () => {
|
|||||||
toolContext
|
toolContext
|
||||||
)
|
)
|
||||||
|
|
||||||
// then - skill content should be injected
|
// then - agent-browser skill should NOT resolve without browserProvider
|
||||||
expect(result).not.toContain("Skills not found")
|
expect(result).toContain("Skills not found")
|
||||||
expect(promptBody).toBeDefined()
|
expect(result).toContain("agent-browser")
|
||||||
expect(promptBody.system).toContain("<Category_Context>")
|
|
||||||
expect(String(promptBody.system).startsWith("<Category_Context>")).toBe(false)
|
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user