fix engine build and test resolution

This commit is contained in:
gsxdsm
2026-04-11 20:42:26 -07:00
parent 5f43316609
commit 9a242c46b5
2 changed files with 8 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
import { beforeEach, describe, expect, it, vi } from "vitest";
import type { PathLike } from "node:fs";
const createAgentSessionMock = vi.fn();
const createCodingToolsMock = vi.fn(() => []);
@@ -18,7 +19,7 @@ const settingsManagerInMemoryMock = vi.fn(() => ({ kind: "settings-manager" }));
const setFallbackResolverMock = vi.fn();
const reloadMock = vi.fn(async () => {});
const execSyncMock = vi.fn(() => "");
const existsSyncMock = vi.fn(() => false);
const existsSyncMock = vi.fn((_path: PathLike) => false);
const readFileSyncMock = vi.fn(() => "{}");
vi.mock("node:child_process", () => ({