test: clarify runtime guard accepted path

This commit is contained in:
Peter Steinberger
2026-05-08 12:38:05 +01:00
parent bc0abcee74
commit 933f092c98

View File

@@ -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();
});