test: restore full gate stability

This commit is contained in:
Peter Steinberger
2026-04-10 11:36:02 +01:00
parent 125db8038d
commit 10b26ed2ec
2 changed files with 3 additions and 1 deletions

View File

@@ -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",

View File

@@ -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"));