mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 16:34:33 +00:00
fix(windows): normalize namespaced path containment checks
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import path from "node:path";
|
||||
import { afterEach, describe, expect, it, vi } from "vitest";
|
||||
import type { RuntimeEnv } from "../runtime.js";
|
||||
|
||||
@@ -99,7 +100,7 @@ describe("onboardCommand", () => {
|
||||
|
||||
expect(mocks.handleReset).toHaveBeenCalledWith(
|
||||
"config+creds+sessions",
|
||||
"/tmp/openclaw-custom-workspace",
|
||||
path.resolve("/tmp/openclaw-custom-workspace"),
|
||||
runtime,
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user