mirror of
https://fastgit.cc/github.com/openclaw/openclaw
synced 2026-04-30 14:02:56 +08:00
test: avoid CI lint false positive in ACP config mock
This commit is contained in:
@@ -675,7 +675,7 @@ describe("acp setSessionConfigOption bridge behavior", () => {
|
||||
const sessionStore = createInMemorySessionStore();
|
||||
const connection = createAcpConnection();
|
||||
const sessionUpdate = connection.__sessionUpdateMock;
|
||||
const request = vi.fn(async (method: string, params?: unknown) => {
|
||||
const request = vi.fn(async (method: string, _params?: unknown) => {
|
||||
if (method === "sessions.list") {
|
||||
return {
|
||||
ts: Date.now(),
|
||||
@@ -700,7 +700,7 @@ describe("acp setSessionConfigOption bridge behavior", () => {
|
||||
};
|
||||
}
|
||||
if (method === "sessions.patch") {
|
||||
expect(params).toEqual({
|
||||
expect(_params).toEqual({
|
||||
key: "fast-session",
|
||||
fastMode: true,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user