From 9ff071f6469c53c880923401e002bbacc8f1e24d Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Wed, 27 May 2026 16:23:01 -0400 Subject: [PATCH] test(config): clear install record cache in validation fixture --- src/config/config.plugin-validation.test.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/config/config.plugin-validation.test.ts b/src/config/config.plugin-validation.test.ts index 5303370bc39c..c0e1069640e6 100644 --- a/src/config/config.plugin-validation.test.ts +++ b/src/config/config.plugin-validation.test.ts @@ -2,6 +2,7 @@ import fs from "node:fs/promises"; import os from "node:os"; import path from "node:path"; import { afterAll, beforeAll, describe, expect, it, vi } from "vitest"; +import { clearLoadInstalledPluginIndexInstallRecordsCache } from "../plugins/installed-plugin-index-records.js"; import { validateConfigObjectWithPlugins } from "./validation.js"; vi.unmock("../version.js"); @@ -851,6 +852,7 @@ describe("config plugin validation", () => { ), "utf-8", ); + clearLoadInstalledPluginIndexInstallRecordsCache(); try { const res = validateInSuite({ agents: { list: [{ id: "openclaw" }] },