runMapAdapterContract
Runs the shared behavioural suite for a MapAdapter. Every test calls
create for a fresh, unmounted subject, so tests never share state.
A real adapter passes the same suite with its own controls.
This is a function exported by @mapcairn/core/contracts, checked against version 0.2.0.
Signature
import { runMapAdapterContract } from "@mapcairn/core/contracts";
function runMapAdapterContract(name: string, create: () => MapAdapterSubject): void;
Parameters
name(string)create(() => MapAdapterSubject)
Returns
void
See also
Source: packages/core/src/contracts/mapAdapter.contract.ts:148