UNPKG

fast-check

Version:

Property based testing framework for JavaScript (like QuickCheck)

8 lines (7 loc) 361 B
import { resolveSize } from './_internals/helpers/MaxLengthFromMinLength.js'; import { buildUriPathArbitrary } from './_internals/builders/UriPathArbitraryBuilder.js'; export /**@__NO_SIDE_EFFECTS__*/function webPath(constraints) { const c = constraints || {}; const resolvedSize = resolveSize(c.size); return buildUriPathArbitrary(resolvedSize); }