runFeatureSelectionContract
Runs the shared behavioural suite for a FeatureSelection. Every test
calls create for a fresh, empty subject with a limit of
CONTRACT_SELECTION_LIMIT.
This is a function exported by @mapcairn/core/contracts, checked against version 0.2.0.
Signature
import { runFeatureSelectionContract } from "@mapcairn/core/contracts";
function runFeatureSelectionContract(name: string, create: (options: FeatureSelectionSubjectOptions) => FeatureSelectionSubject): void;
Parameters
name(string)create((options: FeatureSelectionSubjectOptions) => FeatureSelectionSubject)
Returns
void
See also
Source: packages/core/src/contracts/featureSelection.contract.ts:57