Tests: align fixtures with current gateway and model types
This commit is contained in:
parent
83d284610c
commit
afa95fade0
@ -167,7 +167,7 @@ describe("session.message websocket events", () => {
|
||||
}
|
||||
).message?.__openclaw,
|
||||
).toMatchObject({
|
||||
id: appended.messageId,
|
||||
id: appended.ok ? appended.messageId : undefined,
|
||||
seq: 1,
|
||||
});
|
||||
} finally {
|
||||
|
||||
@ -319,7 +319,7 @@ describe("session history HTTP endpoints", () => {
|
||||
}
|
||||
).message?.__openclaw,
|
||||
).toMatchObject({
|
||||
id: appended.messageId,
|
||||
id: appended.ok ? appended.messageId : undefined,
|
||||
seq: 2,
|
||||
});
|
||||
|
||||
|
||||
@ -57,7 +57,7 @@ function createHost() {
|
||||
token: "",
|
||||
sessionKey: "main",
|
||||
lastActiveSessionKey: "main",
|
||||
theme: "system",
|
||||
theme: "claw",
|
||||
themeMode: "system",
|
||||
chatFocusMode: false,
|
||||
chatShowThinking: true,
|
||||
@ -84,12 +84,12 @@ function createHost() {
|
||||
agentsLoading: false,
|
||||
agentsList: null,
|
||||
agentsError: null,
|
||||
toolsCatalogLoading: false,
|
||||
toolsCatalogError: null,
|
||||
toolsCatalogResult: null,
|
||||
healthLoading: false,
|
||||
healthResult: null,
|
||||
healthError: null,
|
||||
toolsCatalogLoading: false,
|
||||
toolsCatalogError: null,
|
||||
toolsCatalogResult: null,
|
||||
debugHealth: null,
|
||||
assistantName: "OpenClaw",
|
||||
assistantAvatar: null,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user