mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 15:30:43 +00:00
test: clarify runtime guard accepted path
This commit is contained in:
@@ -102,7 +102,7 @@ describe("runtime-guard", () => {
|
||||
version: "22.16.0",
|
||||
execPath: "/usr/bin/node",
|
||||
};
|
||||
expect(() => assertSupportedRuntime(runtime, details)).not.toThrow();
|
||||
expect(assertSupportedRuntime(runtime, details)).toBeUndefined();
|
||||
expect(runtime.exit).not.toHaveBeenCalled();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user