mirror of
https://github.com/moltbot/moltbot.git
synced 2026-05-11 04:48:05 +00:00
test: tighten slack subteam warning assertion
This commit is contained in:
@@ -84,6 +84,8 @@ describe("Slack subteam mentions", () => {
|
||||
log,
|
||||
}),
|
||||
).resolves.toBe(false);
|
||||
expect(log).toHaveBeenCalledWith(expect.stringContaining("missing_scope"));
|
||||
expect(log).toHaveBeenCalledWith(
|
||||
"slack: failed to resolve user-group mention S123: missing_scope",
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user