# probe

function in `@dioramajs/effects/testing`

```ts
import { probe } from '@dioramajs/effects/testing'
```

Mounts an effect on a fixture with the fake render, runs setup and two updates with pointer
and scroll movement, and reports what it read and whether it rests. For the tests and the
metadata of effect modules; needs a DOM such as happy-dom.

```ts
function probe(effect: Effect, options?: ProbeOptions): Promise<ProbeResult>
```

| Parameter | Type | Description |
| --- | --- | --- |
| `effect` | `Effect` |  |
| `options?` | `ProbeOptions` |  |

Defined in [packages/effects/src/testing/probe.ts](https://github.com/MasterKurosava/diorama/blob/main/packages/effects/src/testing/probe.ts#L114).
