on
Registers a preview state for the query with the specified ID.
Parameters
id
The query ID that identifies this query
snapshot
A function that provides the query state to be returned for this ID
Registers a preview state for the query with the specified test tag.
Parameters
testTag
The test tag that identifies this query
snapshot
A function that provides the query state to be returned for this tag
Registers a preview state for the infinite query with the specified ID.
Parameters
id
The infinite query ID that identifies this infinite query
snapshot
A function that provides the query state to be returned for this ID
Registers a preview state for the infinite query with the specified test tag.
Parameters
testTag
The test tag that identifies this infinite query
snapshot
A function that provides the query state to be returned for this tag