runUrlStateContract
Runs the shared behavioural suite for a UrlState. Every test calls
create for a fresh subject. Positions are compared to two decimals
because a real adapter may round what it puts in the address.
This is a function exported by @mapcairn/core/contracts, checked against version 0.2.0.
Signature
import { runUrlStateContract } from "@mapcairn/core/contracts";
function runUrlStateContract(name: string, create: () => UrlStateSubject): void;
Parameters
name(string)create(() => UrlStateSubject)
Returns
void