mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 17:48:26 +00:00
test(core): trim reset usage in gateway and install source specs
This commit is contained in:
@@ -68,7 +68,7 @@ function createResponse(): {
|
||||
|
||||
describe("createHooksRequestHandler timeout status mapping", () => {
|
||||
beforeEach(() => {
|
||||
readJsonBodyMock.mockReset();
|
||||
readJsonBodyMock.mockClear();
|
||||
});
|
||||
|
||||
test("returns 408 for request body timeout", async () => {
|
||||
|
||||
@@ -13,7 +13,7 @@ import { startGatewayMemoryBackend } from "./server-startup-memory.js";
|
||||
|
||||
describe("startGatewayMemoryBackend", () => {
|
||||
beforeEach(() => {
|
||||
getMemorySearchManagerMock.mockReset();
|
||||
getMemorySearchManagerMock.mockClear();
|
||||
});
|
||||
|
||||
it("skips initialization when memory backend is not qmd", async () => {
|
||||
|
||||
Reference in New Issue
Block a user