fix: remove unused type alias and fix test compatibility with Bun 1.3.11

- Remove unused ParsedChunkTarget type alias (lint error)
- Increase setImmediate timing in history storage compat test
- Mock warmPythonEnvironment in python tool tests
- Fix tlaplus LSP test to spy on $which instead of Bun.which
This commit is contained in:
can1357
2026-04-08 12:17:37 +02:00
parent 99fac3419b
commit 003eccce52
7 changed files with 7 additions and 7 deletions
@@ -23,6 +23,7 @@ function createSession(cwd: string): ToolSession {
describe("python tool execution", () => {
it("passes kernel options from settings and args", async () => {
const tempDir = TempDir.createSync("@python-tool-");
vi.spyOn(pythonExecutor, "warmPythonEnvironment").mockResolvedValue({ ok: true });
const executeSpy = vi.spyOn(pythonExecutor, "executePython").mockResolvedValue({
output: "ok",
exitCode: 0,