test(types): fix ts narrowing regressions in followup and matrix queue tests

This commit is contained in:
Peter Steinberger
2026-02-24 23:54:45 +00:00
parent e22a2d77ba
commit b0bb3cca8a
2 changed files with 8 additions and 2 deletions

View File

@@ -64,7 +64,7 @@ const baseQueuedRun = (messageProvider = "whatsapp"): FollowupRun =>
}) as FollowupRun;
function createQueuedRun(
overrides: Partial<FollowupRun> & { run?: Partial<FollowupRun["run"]> } = {},
overrides: Partial<Omit<FollowupRun, "run">> & { run?: Partial<FollowupRun["run"]> } = {},
): FollowupRun {
const base = baseQueuedRun();
return {