mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-13 03:00:43 +00:00
test: tighten inactive channel warning assertions
This commit is contained in:
@@ -151,9 +151,9 @@ describe("secrets runtime snapshot channel inactive variants", () => {
|
||||
provider: "default",
|
||||
id: "MISSING_SLACK_WORK_APP_TOKEN",
|
||||
});
|
||||
expect(snapshot.warnings.map((warning) => warning.path)).toEqual(
|
||||
expect.arrayContaining(["channels.slack.appToken", "channels.slack.accounts.work.appToken"]),
|
||||
);
|
||||
const warningPaths = snapshot.warnings.map((warning) => warning.path);
|
||||
expect(warningPaths).toContain("channels.slack.appToken");
|
||||
expect(warningPaths).toContain("channels.slack.accounts.work.appToken");
|
||||
});
|
||||
|
||||
it("treats top-level Google Chat serviceAccount as inactive when enabled accounts use serviceAccountRef", async () => {
|
||||
|
||||
Reference in New Issue
Block a user