> ## Documentation Index
> Fetch the complete documentation index at: https://botmesh.afaya.com.co/llms.txt
> Use this file to discover all available pages before exploring further.

# crashable()

> Function exported by @botmesh/core/testing.

```ts theme={null}
function crashable(inner): CrashableBackend;
```

Defined in: [testing/crash.ts:77](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/crash.ts#L77)

Wrap `inner` so it can be crashed at a chosen journal operation.

## Parameters

| Parameter | Type |
| - | - |
| `inner` | [`DurabilityBackend`](https://botmesh.afaya.com.co/api/core/interfaces/DurabilityBackend) |

## Returns

[`CrashableBackend`](https://botmesh.afaya.com.co/api/core/testing/interfaces/CrashableBackend)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.