mirror of https://github.com/openclaw/openclaw.git
test(qmd): remove flaky reset export mtime assertion
This commit is contained in:
parent
da17011839
commit
10600e7ced
|
|
@ -2275,11 +2275,10 @@ describe("QmdMemoryManager", () => {
|
|||
const thirdExport = await fs.readFile(exportFile, "utf-8");
|
||||
const thirdResetExport = await fs.readFile(resetExportFile, "utf-8");
|
||||
expect(thirdExport).toBe(secondExport);
|
||||
expect(thirdResetExport).not.toBe(secondResetExport);
|
||||
expect(thirdResetExport).toContain("follow-up update");
|
||||
const thirdSessionMtimeMs = (await fs.stat(exportFile)).mtimeMs;
|
||||
const thirdResetMtimeMs = (await fs.stat(resetExportFile)).mtimeMs;
|
||||
expect(thirdSessionMtimeMs).toBe(secondSessionMtimeMs);
|
||||
expect(thirdResetMtimeMs).toBeGreaterThan(secondResetMtimeMs);
|
||||
} finally {
|
||||
await manager.close();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue