(parameters: TestClientConfig)
| 113 | > |
| 114 | |
| 115 | export function createTestClient(parameters: TestClientConfig): TestClient { |
| 116 | const { key = 'test', name = 'Test Client', mode } = parameters |
| 117 | const client = createClient({ |
| 118 | ...parameters, |
| 119 | key, |
| 120 | name, |
| 121 | type: 'testClient', |
| 122 | }) |
| 123 | return client.extend((config) => ({ |
| 124 | mode, |
| 125 | ...testActions({ mode })(config), |
| 126 | })) |
| 127 | } |
no test coverage detected