# Fixture (/docs/api/core/interfaces/Fixture)



One labelled Fixture. `expect` is `Answers<Q>` made partial, so it carries the Recipe's
literal labels and level indices and needs no second mapping.

## Type Parameters [#type-parameters]

| Type Parameter                                                   | Default type                                       |
| ---------------------------------------------------------------- | -------------------------------------------------- |
| `Q` *extends* [`Questions`](/docs/api/core/interfaces/Questions) | [`Questions`](/docs/api/core/interfaces/Questions) |

## Properties [#properties]

### by? [#by]

```ts
optional by?: string;
```

***

### expect [#expect]

```ts
expect: Partial<Answers<Q>>;
```

***

### id? [#id]

```ts
optional id?: string;
```

***

### origin? [#origin]

```ts
optional origin?: string;
```

***

### state [#state]

```ts
state: EntryType;
```
