<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@contract-case/case-boundary](./case-boundary.md) &gt; [ContractCaseBoundaryConfig](./case-boundary.contractcaseboundaryconfig.md) &gt; [stateHandlers](./case-boundary.contractcaseboundaryconfig.statehandlers.md)

## ContractCaseBoundaryConfig.stateHandlers property

State setup and teardown handlers for any states this test requires (see \[writing state handlers\](https://case.contract-testing.io/docs/reference/state-handlers/)) for more details

**Signature:**

```typescript
readonly stateHandlers?: Record<string, BoundaryStateHandler>;
```
