(method: string, url: string, signal?: AbortSignal)
| 49 | } |
| 50 | |
| 51 | function createRequest(method: string, url: string, signal?: AbortSignal): StandardLazyRequest { |
| 52 | return { |
| 53 | method, |
| 54 | url: new URL(url), |
| 55 | headers: { |
| 56 | 'content-type': 'application/json', |
| 57 | }, |
| 58 | body: () => Promise.resolve(undefined), |
| 59 | signal, |
| 60 | } |
| 61 | } |
| 62 | |
| 63 | describe('loggingHandlerPlugin', () => { |
| 64 | const codec = new StandardRPCCodec(new StandardRPCSerializer(new StandardRPCJsonSerializer())) |
no outgoing calls
no test coverage detected