diff --git a/src/plugins/loader.git-path-regression.test.ts b/src/plugins/loader.git-path-regression.test.ts index 7be218f21e4..ff89c203bf2 100644 --- a/src/plugins/loader.git-path-regression.test.ts +++ b/src/plugins/loader.git-path-regression.test.ts @@ -88,7 +88,9 @@ export const copiedRuntimeMarker = { // and that behavior is orthogonal to the #49806 alias regression this test // is protecting. const withAlias = createJiti(jitiBaseUrl, jitiOptions); - expect(withAlias.resolve("openclaw/plugin-sdk/channel-runtime")).toBe(copiedChannelRuntimeShim); + expect(path.normalize(withAlias.resolve("openclaw/plugin-sdk/channel-runtime"))).toBe( + path.normalize(copiedChannelRuntimeShim), + ); expect(fs.readFileSync(copiedChannelRuntime, "utf-8")).toContain( 'from "openclaw/plugin-sdk/channel-runtime"', );