From 68178a9260034c5e2d79f27d85eebfad5db760d6 Mon Sep 17 00:00:00 2001 From: Mikael Hugo Date: Sun, 17 May 2026 22:30:10 +0200 Subject: [PATCH] fix(rpc-test): use .js extension for recovery module import tsgo rejects `.ts` extensions in imports without allowImportingTsExtensions. Updated the test to import from "./feedback-queue-recovery.js" which is both ESM-compatible and matches the rest of the package convention. Co-Authored-By: Claude Opus 4.7 (1M context) --- .../coding-agent/src/modes/rpc/rpc-mode-orphan-recovery.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/coding-agent/src/modes/rpc/rpc-mode-orphan-recovery.test.ts b/packages/coding-agent/src/modes/rpc/rpc-mode-orphan-recovery.test.ts index e9e8e3743..86686de5b 100644 --- a/packages/coding-agent/src/modes/rpc/rpc-mode-orphan-recovery.test.ts +++ b/packages/coding-agent/src/modes/rpc/rpc-mode-orphan-recovery.test.ts @@ -18,7 +18,7 @@ import { import { tmpdir } from "node:os"; import { join } from "node:path"; import { afterEach, describe, expect, it } from "vitest"; -import { recoverOrphanedFeedbackDrains } from "./feedback-queue-recovery.ts"; +import { recoverOrphanedFeedbackDrains } from "./feedback-queue-recovery.js"; const QUEUE_NAME = "sf-feedback-queue.jsonl"; const tmpRoots: string[] = [];