Files
ospab.host/node_modules/fast-check/lib/esm/arbitrary/webPath.js
2025-09-15 18:10:26 +03:00

8 lines
336 B
JavaScript

import { resolveSize } from './_internals/helpers/MaxLengthFromMinLength.js';
import { buildUriPathArbitrary } from './_internals/builders/UriPathArbitraryBuilder.js';
export function webPath(constraints) {
const c = constraints || {};
const resolvedSize = resolveSize(c.size);
return buildUriPathArbitrary(resolvedSize);
}