| ... | ... | @@ -282,10 +282,14 @@ describe("composerDraftStore project draft thread mapping", () => { |
| 282 | 282 | branch: "main", |
| 283 | 283 | worktreePath: "/tmp/main-worktree", |
| 284 | 284 | }); |
| 285 | | store.setProjectDraftThreadId(projectId, threadId, { |
| 285 | const runtimeUndefinedOptions = { |
| 286 | 286 | branch: undefined, |
| 287 | 287 | worktreePath: undefined, |
| 288 | | }); |
| 288 | } as unknown as { |
| 289 | branch?: string | null; |
| 290 | worktreePath?: string | null; |
| 291 | }; |
| 292 | store.setProjectDraftThreadId(projectId, threadId, runtimeUndefinedOptions); |
| 289 | 293 | |
| 290 | 294 | expect(useComposerDraftStore.getState().getDraftThread(threadId)).toMatchObject({ |
| 291 | 295 | projectId, |