mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-13 00:02:55 +00:00
fix(ci): stabilize Windows path handling in sandbox tests
This commit is contained in:
@@ -154,6 +154,10 @@ describe("msteams media-helpers", () => {
|
||||
expect(isLocalPath("\\\\server\\share\\image.png")).toBe(true);
|
||||
});
|
||||
|
||||
it("returns true for Windows rooted paths", () => {
|
||||
expect(isLocalPath("\\tmp\\openclaw\\file.txt")).toBe(true);
|
||||
});
|
||||
|
||||
it("returns false for http URLs", () => {
|
||||
expect(isLocalPath("http://example.com/image.png")).toBe(false);
|
||||
expect(isLocalPath("https://example.com/image.png")).toBe(false);
|
||||
|
||||
Reference in New Issue
Block a user