(params: RequestHandlerChainParams)
| 108 | } |
| 109 | |
| 110 | async function runReactNativeHandler(params: RequestHandlerChainParams): Promise<DaemonResponse> { |
| 111 | const { handleReactNativeCommands } = await loadReactNativeHandlerModule(); |
| 112 | return expectHandlerResponse( |
| 113 | params.req.command, |
| 114 | 'react-native', |
| 115 | await handleReactNativeCommands({ |
| 116 | req: params.req, |
| 117 | sessionName: params.sessionName, |
| 118 | logPath: params.logPath, |
| 119 | sessionStore: params.sessionStore, |
| 120 | contextFromFlags: params.contextFromFlags, |
| 121 | }), |
| 122 | ); |
| 123 | } |
| 124 | |
| 125 | async function runRecordTraceHandler(params: RequestHandlerChainParams): Promise<DaemonResponse> { |
| 126 | const { handleRecordTraceCommands } = await loadRecordTraceHandlerModule(); |
no test coverage detected