mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 04:11:22 +00:00
test(discord): stabilize parent-info + doctor migration assertions (#25028)
This commit is contained in:
committed by
GitHub
parent
dd41a78458
commit
721d8b2278
@@ -54,9 +54,11 @@ describe("doctor command", () => {
|
||||
const remote = gateway.remote as Record<string, unknown>;
|
||||
const channels = (written.channels as Record<string, unknown>) ?? {};
|
||||
|
||||
expect(channels.whatsapp).toEqual({
|
||||
allowFrom: ["+15555550123"],
|
||||
});
|
||||
expect(channels.whatsapp).toEqual(
|
||||
expect.objectContaining({
|
||||
allowFrom: ["+15555550123"],
|
||||
}),
|
||||
);
|
||||
expect(written.routing).toBeUndefined();
|
||||
expect(remote.token).toBe("legacy-remote-token");
|
||||
expect(auth).toBeUndefined();
|
||||
|
||||
Reference in New Issue
Block a user