@xtandard/lib/tanstack/testing
Headless QueryStateTestingAdapter for testing query-state hooks without a router (peer react).
import { … } from "@xtandard/lib/tanstack/testing";Functions
Section titled “Functions”| Name | Summary |
|---|---|
QueryStateTestingAdapter |
Adapter for unit tests: drives useQueryState/useQueryStates from a static search string and reports commits via onUrlUpdate — no router required. |
Type aliases
Section titled “Type aliases”| Name | Summary |
|---|---|
QueryStateTestingAdapterProps |
|
UrlUpdateEvent |