> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tappify.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# registerTapMatchers

> Registers the four matchers on a runner's expect.

```ts theme={null}
function registerTapMatchers(target): void;
```

Registers the four matchers on a runner's `expect`.

## Parameters

### target

[`MatcherTarget`](/extensions/reference/testing-api/Interface.MatcherTarget)

## Returns

`void`

## Remarks

The vitest and jest presets call this, so a suite that loads
`@tappify/extension-sdk/testing/vitest` or `.../testing/jest` as a setup file
needs nothing else. Call it yourself only in a suite that does not use a preset,
and once — registering twice replaces the same four names. It adds no types of
its own, so a suite without a preset declares the four on the runner's `Matchers`
interface itself.

## Example

```ts theme={null}
import { registerTapMatchers } from '@tappify/extension-sdk/testing';
import { expect } from 'vitest';

registerTapMatchers(expect);
```
