MCPcopy Create free account
hub / github.com/activejs/activejs / randomValues

Function randomValues

packages/core/src/tests/utils.ts:246–248  ·  view source on GitHub ↗
(nestingLvl = 2)

Source from the content-addressed store, hash-verified

244}
245
246export function randomValues(nestingLvl = 2) {
247 return randomSelectMultiple(RANDOM_VALUE_PRODUCERS).map(gen => gen(nestingLvl));
248}
249
250export function randomValue(nestingLvl = 2) {
251 --nestingLvl;

Callers 2

units.spec.tsFile · 0.90
randomValuePureFnFunction · 0.85

Calls 1

randomSelectMultipleFunction · 0.85

Tested by

no test coverage detected