feat(FN-3888): fix dependency graph plugin ESM imports for Node16
Fixed ESM import resolution in the dependency graph plugin by repointing its tsconfig to Node16 and adding compatible import extensions, with verification tests covering the raw-node plugin entrypoint resolution path. Fusion-Task-Id: FN-3888
This commit is contained in:
@@ -7655,8 +7655,9 @@ describe("aiMergeTask — in-merge verification fix", () => {
|
|||||||
[{ id: "FN-050", worktree: "/tmp/root/.worktrees/KB-050", column: "in-review" } as Task],
|
[{ id: "FN-050", worktree: "/tmp/root/.worktrees/KB-050", column: "in-review" } as Task],
|
||||||
);
|
);
|
||||||
// Explicitly omit verificationFixRetries to test default behavior
|
// Explicitly omit verificationFixRetries to test default behavior
|
||||||
|
const { verificationFixRetries: _omitVerificationFixRetries, ...settingsWithoutVerificationFixRetries } = DEFAULT_SETTINGS;
|
||||||
(store.getSettings as ReturnType<typeof vi.fn>).mockResolvedValue({
|
(store.getSettings as ReturnType<typeof vi.fn>).mockResolvedValue({
|
||||||
...DEFAULT_SETTINGS,
|
...settingsWithoutVerificationFixRetries,
|
||||||
testCommand: "vitest run",
|
testCommand: "vitest run",
|
||||||
// verificationFixRetries is NOT set — should default to 2
|
// verificationFixRetries is NOT set — should default to 2
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user