test: tighten slack subteam warning assertion

This commit is contained in:
Shakker
2026-05-11 02:18:08 +01:00
parent 5cbcf7adb0
commit be67c587f3

View File

@@ -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",
);
});
});