mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-07 21:00:41 +00:00
refactor: consolidate plugin install index store
This commit is contained in:
@@ -12,7 +12,7 @@ import {
|
||||
runtimeLogs,
|
||||
uninstallPlugin,
|
||||
writeConfigFile,
|
||||
writePersistedPluginInstallLedger,
|
||||
writePersistedInstalledPluginIndexInstallRecords,
|
||||
} from "./plugins-cli-test-helpers.js";
|
||||
|
||||
const CLI_STATE_ROOT = "/tmp/openclaw-state";
|
||||
@@ -103,7 +103,7 @@ describe("plugins cli uninstall", () => {
|
||||
deleteFiles: false,
|
||||
}),
|
||||
);
|
||||
expect(writePersistedPluginInstallLedger).toHaveBeenCalledWith({});
|
||||
expect(writePersistedInstalledPluginIndexInstallRecords).toHaveBeenCalledWith({});
|
||||
expect(writeConfigFile).toHaveBeenCalledWith({
|
||||
plugins: {
|
||||
entries: {},
|
||||
|
||||
Reference in New Issue
Block a user