fix(workbench-ui): resolve TS fetcher typing and classify new replay fields
This commit is contained in:
parent
22c6aa4411
commit
1be0068061
2 changed files with 5 additions and 1 deletions
|
|
@ -32,7 +32,9 @@ describe("practice evidence endpoint helpers", () => {
|
|||
it("fetches practice evidence through an injected fetcher", async () => {
|
||||
const fetcher = vi.fn(<T,>(_path: string): Promise<T> => Promise.resolve(evidence as T));
|
||||
|
||||
await expect(fetchTracePracticeWith(7, fetcher)).resolves.toBe(evidence);
|
||||
await expect(
|
||||
fetchTracePracticeWith(7, fetcher as unknown as <T>(path: string) => Promise<T>),
|
||||
).resolves.toBe(evidence);
|
||||
expect(fetcher).toHaveBeenCalledWith("/trace/7/practice");
|
||||
});
|
||||
});
|
||||
|
|
|
|||
|
|
@ -55,6 +55,8 @@ CRITICAL_FIELDS = frozenset(
|
|||
"field_evidence",
|
||||
"checkpoint_emitted",
|
||||
"trace_integrity",
|
||||
"construction_evidence",
|
||||
"practice_evidence",
|
||||
}
|
||||
)
|
||||
# Wall-clock by nature, or derived over wall-clock bytes (journal_digest
|
||||
|
|
|
|||
Loading…
Reference in a new issue