test(plugins): normalize windows shim path assertion
This commit is contained in:
parent
46fa94f303
commit
2a58af2ae2
@ -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"',
|
||||
);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user