# `testing.TraceEntry`

> Contract 2.0.0 · package sha256 `a857eca95b35921109faf997094bb4192f12527d9d0fcd4be7e97f06425bad6e` · generated from `testing.d.ts` by `services/onsite-scripter/scripts/build-contract-docs.mjs`; edit the source, not this file.

Interface · `import type { TraceEntry } from '@holostep-configurators/runtime-client/testing';` · stable · since 2.0.0 · section 24. /testing

One step of an operation through the states of spec section 6.2.

## Members

| Member | Kind | Summary |
| --- | --- | --- |
| <a id="t"></a>[`t`](testing.TraceEntry.t.md) | property | Fake clock, ms. |
| <a id="op"></a>[`op`](testing.TraceEntry.op.md) | property | The operation, or null for a frame. |
| <a id="seq"></a>[`seq`](testing.TraceEntry.seq.md) | property | Its commit, once committed. |
| <a id="state"></a>[`state`](testing.TraceEntry.state.md) | property | The state it entered (spec section 6.2). |
| <a id="member"></a>[`member`](testing.TraceEntry.member.md) | property | The member, by its path, whichever writer calls it (`session` or a `tx`): a member of the writer or of a handle it holds as a property is 'session.<path>' ('session.select', 'session.stage.set',… |
| <a id="detail"></a>[`detail?`](testing.TraceEntry.detail.md) | property | Free text for humans. |

## Declaration

```ts
export interface TraceEntry {
  readonly t: number;
  readonly op: number | null;
  readonly seq: number | null;
  readonly state: 'called' | 'queued' | 'staged' | 'deferred' | 'settling' | 'preparing' | 'committed' | 'presented' | 'dispatched' | 'finished' | 'rolled-back' | 'superseded' | 'refused' | 'dry-run';
  readonly member: string;
  readonly detail?: string;
}
```

## Generic-API test (spec 3.1)

| Rule | Result |
| --- | --- |
| 1. Neutral name | pass: `TraceEntry` names no product |
| 2. A precedent | not recorded: no ledger row (coverage.json) names this member or its owner |
| 3. Two apps, or labs | not recorded: no ledger row names this member or its owner |
| 4. The cheaper fix first | not recorded per member (Appendix B decides it per need) |
