(fetchImpl: Mock)
| 60 | ]; |
| 61 | |
| 62 | function createEnvironment(fetchImpl: Mock) { |
| 63 | return { |
| 64 | fetch: fetchImpl as unknown as typeof fetch, |
| 65 | }; |
| 66 | } |
| 67 | |
| 68 | function getChannel(): MockChannel { |
| 69 | const channel = phoenix.sockets[0]?.channels[0]; |
no outgoing calls
no test coverage detected
searching dependent graphs…