> ## 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.

# fixtures

> The sandbox data the mock bridge and the portal preview both answer with, so a component behaves the same in a test and in the preview.

```ts theme={null}
const fixtures: TapFixtures;
```

The sandbox data the mock bridge and the portal preview both answer with, so a
component behaves the same in a test and in the preview.

## Remarks

These are the same objects the `fixture*` exports hold, gathered under one name.
`answerFixtureQuery` clones before it answers, but reading `fixtures` directly
hands you the live object, so a test that sorts or splices one has to copy it
first.

## Example

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

const newest = [...fixtures.releases].sort((left, right) =>
  right.version.localeCompare(left.version),
)[0];
```
