mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-12 09:41:11 +00:00
test: restore full gate stability
This commit is contained in:
@@ -913,10 +913,11 @@ describe("memory cli", () => {
|
||||
|
||||
it("previews rem harness output as json", async () => {
|
||||
await withTempWorkspace(async (workspaceDir) => {
|
||||
const nowMs = Date.now();
|
||||
await recordShortTermRecalls({
|
||||
workspaceDir,
|
||||
query: "weather plans",
|
||||
nowMs: Date.parse("2026-04-03T10:00:00.000Z"),
|
||||
nowMs,
|
||||
results: [
|
||||
{
|
||||
path: "memory/2026-04-03.md",
|
||||
|
||||
@@ -96,6 +96,7 @@ const NORMALIZED_CLAUDE_FALLBACK_RESUME_ARGS = [
|
||||
beforeAll(async () => {
|
||||
vi.doUnmock("../plugins/setup-registry.js");
|
||||
vi.doUnmock("../plugins/cli-backends.runtime.js");
|
||||
vi.resetModules();
|
||||
({ createEmptyPluginRegistry } = await import("../plugins/registry.js"));
|
||||
({ resetPluginRuntimeStateForTest, setActivePluginRegistry } =
|
||||
await import("../plugins/runtime.js"));
|
||||
|
||||
Reference in New Issue
Block a user