refactor(delegate-task): inject sync task deps for test isolation

This commit is contained in:
YeonGyu-Kim
2026-02-10 22:54:30 +09:00
parent 967058fe3d
commit 087ce06055
6 changed files with 102 additions and 85 deletions
+13
View File
@@ -0,0 +1,13 @@
import { createSyncSession } from "./sync-session-creator"
import { sendSyncPrompt } from "./sync-prompt-sender"
import { pollSyncSession } from "./sync-session-poller"
import { fetchSyncResult } from "./sync-result-fetcher"
export const syncTaskDeps = {
createSyncSession,
sendSyncPrompt,
pollSyncSession,
fetchSyncResult,
}
export type SyncTaskDeps = typeof syncTaskDeps