# testClient

**Kind:** Function

**Source:** [`src/helper/testing/index.ts`](https://github.com/honojs/hono/blob/main/src/helper/testing/index.ts#L16)

**Part of:** [Helper](subsystem-src-helper)

## Signature

```ts
function testClient(app: T, Env: ExtractEnv<T>['Bindings'] | {}, executionCtx: ExecutionContext, options: Omit<ClientRequestOptions, 'fetch'>): UnionToIntersection<Client<T, 'http:
```

## Parameters

| Name | Type |
|---|---|
| `app` | `T` |
| `Env` | `ExtractEnv<T>['Bindings'] | {}` |
| `executionCtx` | `ExecutionContext` |
| `options` | `Omit<ClientRequestOptions, 'fetch'>` |

**Returns:** `UnionToIntersection<Client<T, 'http:`
