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

[Home](./index.md) &gt; [@contract-case/case-definition-dsl](./case-definition-dsl.md) &gt; [interactions](./case-definition-dsl.interactions.md) &gt; [base](./case-definition-dsl.interactions.base.md) &gt; [ContractCaseCoreBehaviour](./case-definition-dsl.interactions.base.contractcasecorebehaviour.md) &gt; [stateVariables](./case-definition-dsl.interactions.base.contractcasecorebehaviour.statevariables.md)

## interactions.base.ContractCaseCoreBehaviour.stateVariables property

Whether or not this mock mode will invoke state handlers. If set to `"default"` then ContractCase will not invoke or require the state handlers and will use the default values for all state variables. If set to `"state"`<!-- -->, then ContractCase will invoke the state handlers and require the expected variables to be returned.

All other values are errors.

**Signature:**

```typescript
readonly stateVariables: string;
```
