mirror of
https://github.com/farcasclaudiu/openclaw.git
synced 2026-06-28 13:01:42 +03:00
chore: migrate to oxlint and oxfmt
Co-authored-by: Christoph Nakazawa <christoph.pojer@gmail.com>
This commit is contained in:
@@ -28,9 +28,7 @@ describe("resolvePreferredNodePath", () => {
|
||||
throw new Error("missing");
|
||||
});
|
||||
|
||||
const execFile = vi
|
||||
.fn()
|
||||
.mockResolvedValue({ stdout: "22.1.0\n", stderr: "" });
|
||||
const execFile = vi.fn().mockResolvedValue({ stdout: "22.1.0\n", stderr: "" });
|
||||
|
||||
const result = await resolvePreferredNodePath({
|
||||
env: {},
|
||||
@@ -49,9 +47,7 @@ describe("resolvePreferredNodePath", () => {
|
||||
throw new Error("missing");
|
||||
});
|
||||
|
||||
const execFile = vi
|
||||
.fn()
|
||||
.mockResolvedValue({ stdout: "18.19.0\n", stderr: "" });
|
||||
const execFile = vi.fn().mockResolvedValue({ stdout: "18.19.0\n", stderr: "" });
|
||||
|
||||
const result = await resolvePreferredNodePath({
|
||||
env: {},
|
||||
@@ -90,9 +86,7 @@ describe("resolveSystemNodeInfo", () => {
|
||||
throw new Error("missing");
|
||||
});
|
||||
|
||||
const execFile = vi
|
||||
.fn()
|
||||
.mockResolvedValue({ stdout: "22.0.0\n", stderr: "" });
|
||||
const execFile = vi.fn().mockResolvedValue({ stdout: "22.0.0\n", stderr: "" });
|
||||
|
||||
const result = await resolveSystemNodeInfo({
|
||||
env: {},
|
||||
|
||||
Reference in New Issue
Block a user