mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 08:12:43 +00:00
chore(tsgo/format): fix CI errors
This commit is contained in:
@@ -1249,7 +1249,7 @@ describe("QmdMemoryManager", () => {
|
||||
|
||||
for (const testCase of cases) {
|
||||
const { manager } = await createManager();
|
||||
const restoreOpen = testCase.installOpenSpy?.();
|
||||
const restoreOpen = "installOpenSpy" in testCase ? testCase.installOpenSpy() : undefined;
|
||||
try {
|
||||
const result = await manager.readFile(testCase.request);
|
||||
expect(result, testCase.name).toEqual({ text: "", path: testCase.expectedPath });
|
||||
|
||||
Reference in New Issue
Block a user