(
host: string,
)
| 142 | |
| 143 | describe('dispatchReplWorkerSandboxPermissionDialogResponse', () => { |
| 144 | function workerRequest( |
| 145 | host: string, |
| 146 | ): ReplWorkerSandboxPermissionQueueItem { |
| 147 | return { |
| 148 | requestId: 'req-1', |
| 149 | workerName: 'worker-a', |
| 150 | host, |
| 151 | } |
| 152 | } |
| 153 | |
| 154 | test('forwards leader response, persists only allow+dont-ask-again, and dequeues request', () => { |
| 155 | const sent: Array<{ |
no outgoing calls
no test coverage detected