refactor: remove pi-ref lazy barrel import, fix test mocks for Bun 1.3.11
- Remove pi-ref.ts deferred barrel import (no longer needed after circular dep fix) - Update extension/hook/custom-tool/custom-command loaders to use direct imports - Fix warmPythonEnvironment mock return type in python tool tests (add docs field)
This commit is contained in:
@@ -56,7 +56,7 @@ describe("python tool settings", () => {
|
||||
});
|
||||
|
||||
it("passes kernel mode from settings to executor", async () => {
|
||||
vi.spyOn(pythonExecutor, "warmPythonEnvironment").mockResolvedValue({ ok: true });
|
||||
vi.spyOn(pythonExecutor, "warmPythonEnvironment").mockResolvedValue({ ok: true, docs: [] });
|
||||
const executeSpy = vi.spyOn(pythonExecutor, "executePython").mockResolvedValue({
|
||||
output: "ok",
|
||||
exitCode: 0,
|
||||
|
||||
Reference in New Issue
Block a user