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

# TapMockCalls

> Everything the component asked the host to do, in call order, for a test to assert on.

Everything the component asked the host to do, in call order, for a test to
assert on.

## Properties

### actions

```ts theme={null}
actions: {
  actionId: string;
  input: unknown;
}[];
```

One entry per `tap.actions.run`, which the mock records rather than refuses.

#### actionId

```ts theme={null}
actionId: string;
```

#### input

```ts theme={null}
input: unknown;
```

***

### cards

```ts theme={null}
cards: TapChatCard[];
```

One card per `tap.ui.openInChat`, unformatted.

***

### chats

```ts theme={null}
chats: {
  context?: Record<string, unknown>;
  prompt: string;
}[];
```

One entry per `tap.nav.openChat`.

#### context?

```ts theme={null}
optional context?: Record<string, unknown>;
```

#### prompt

```ts theme={null}
prompt: string;
```

***

### confirms

```ts theme={null}
confirms: TapConfirmOptions[];
```

One entry per `tap.ui.confirm`, whatever the mock answered.

***

### copies

```ts theme={null}
copies: string[];
```

One entry per `tap.ui.copy`, with no clipboard touched.

***

### downloads

```ts theme={null}
downloads: {
  filename: string;
  size: number;
}[];
```

The filename and byte size per `tap.ui.download`, not the blob itself.

#### filename

```ts theme={null}
filename: string;
```

#### size

```ts theme={null}
size: number;
```

***

### expands

```ts theme={null}
expands: number;
```

How many times `tap.ui.expand` was called.

***

### externals

```ts theme={null}
externals: string[];
```

One url per `tap.nav.openExternal`, with no confirmation asked.

***

### navigations

```ts theme={null}
navigations: string[];
```

One entry per `tap.nav.push`.

***

### searches

```ts theme={null}
searches: Record<string, string | null>[];
```

One entry per `tap.nav.setSearch`.

***

### settingsOpens

```ts theme={null}
settingsOpens: number;
```

How many times `tap.nav.openSettings` was called.

***

### telemetry

```ts theme={null}
telemetry: {
  name: string;
  props?: Record<string, string | number | boolean>;
}[];
```

One entry per `tap.telemetry.event`.

#### name

```ts theme={null}
name: string;
```

#### props?

```ts theme={null}
optional props?: Record<string, string | number | boolean>;
```

***

### toasts

```ts theme={null}
toasts: {
  message: string;
  tone: TapToastTone;
}[];
```

One entry per `tap.ui.toast`; the tone defaults to `neutral`.

#### message

```ts theme={null}
message: string;
```

#### tone

```ts theme={null}
tone: TapToastTone;
```
