mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-25 08:52:12 +00:00
test: repair current main gate regressions
This commit is contained in:
@@ -34,7 +34,6 @@ function createEmptyPluginRegistry(): PluginRegistry {
|
||||
diagnostics: [],
|
||||
};
|
||||
}
|
||||
|
||||
const sessionBindingState = vi.hoisted(() => {
|
||||
const records = new Map<string, SessionBindingRecord>();
|
||||
let nextId = 1;
|
||||
|
||||
@@ -69,6 +69,7 @@ describe("formatPluginSourceForTable", () => {
|
||||
{
|
||||
OPENCLAW_BUNDLED_PLUGINS_DIR: path.join(ignoredHome, "ignored-bundled"),
|
||||
OPENCLAW_STATE_DIR: path.join(ignoredHome, "ignored-state"),
|
||||
OPENCLAW_HOME: undefined,
|
||||
HOME: ignoredHome,
|
||||
},
|
||||
() =>
|
||||
@@ -76,6 +77,7 @@ describe("formatPluginSourceForTable", () => {
|
||||
env: {
|
||||
...process.env,
|
||||
HOME: homeDir,
|
||||
OPENCLAW_HOME: undefined,
|
||||
OPENCLAW_BUNDLED_PLUGINS_DIR: "~/bundled",
|
||||
OPENCLAW_STATE_DIR: "~/state",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user