campus-errand/miniapp/node_modules/fast-check/lib/arbitrary/webPath.js
2026-03-01 05:01:47 +08:00

8 lines
361 B
JavaScript

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);
}