Interface: SeedComment
Defined in: src/testing/seed.ts:14
Semantic, provider-agnostic seed model for fake instances.
Consumer tests describe what exists — people, posts, comments, notifications — and each fake instance derives its provider's wire responses from this store. Specs never touch endpoint paths or wire shapes for content; mock()/calls() remain for error injection and asserting outgoing requests.
Field names follow threadiverse's canonical types (post.name, comment.content) so tests assert on the same names they seed.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
childCount | number | - | src/testing/seed.ts:15 |
content | string | - | src/testing/seed.ts:16 |
creator | SeedPerson | - | src/testing/seed.ts:17 |
id | number | - | src/testing/seed.ts:18 |
path | string | - | src/testing/seed.ts:19 |
post | SeedPost | - | src/testing/seed.ts:20 |
published? | string | ISO 8601; defaults to the fake's fixed "now" | src/testing/seed.ts:22 |
