mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 13:05:01 +00:00
fix(ci): normalize path assertions across platforms
This commit is contained in:
@@ -48,7 +48,7 @@ describe("acp prompt cwd prefix", () => {
|
||||
expect(requestSpy).toHaveBeenCalledWith(
|
||||
"chat.send",
|
||||
expect.objectContaining({
|
||||
message: expect.stringContaining("[Working directory: ~/openclaw-test]"),
|
||||
message: expect.stringMatching(/\[Working directory: ~[\\/]openclaw-test\]/),
|
||||
}),
|
||||
{ expectFinal: true },
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user