tap.data.query from the fixtures, which is what the mock bridge
does.
Type Parameters
Q
Q extends TapQuery
Parameters
query
Q
Returns
TapResult<Q>
Remarks
Every branch is cloned withstructuredClone, so a component that sorts or
splices a result cannot reach the fixture the next test reads. It checks no
scope — createTapMock refuses an ungranted kind before it gets here — and it
ignores the range and platform in the query, so the numbers are the same
whatever the filter bar says. The seven assertions inside are the one place
TypeScript cannot follow the distributive conditional in TapResult<Q> back
through a switch; each branch returns exactly the result its case selected.