test(api): harden assistant tool error handling
This commit is contained in:
@@ -122,7 +122,7 @@ describe("assistant audit tools", () => {
|
||||
|
||||
expect(JSON.parse(result.content)).toEqual(
|
||||
expect.objectContaining({
|
||||
error: expect.stringContaining("Controller access required"),
|
||||
error: "You do not have permission to perform this action.",
|
||||
}),
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user