Skip to content

Commit a85be57

Browse files
test(mobile): task permission test mocks the pending requests atom
Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent 8db4f4e commit a85be57

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎apps/mobile/src/state/thread-task-permissions.test.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ vi.mock("./threads", async () => {
113113
environmentThreadDetails: {
114114
queueWorkflowAtom: () => Atom.make(null),
115115
checkpointSummariesAtom: () => Atom.make([]),
116+
pendingRequestsAtom: () => Atom.make(state.pendingRequests),
116117
},
117118
threadEnvironment: {
118119
respondToApproval: state.approve,

0 commit comments

Comments
 (0)