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

Function randomString

packages/core/src/tests/utils.ts:166–168  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

164}
165
166export function randomString(): string {
167 return selectRandom([Faker.random.words, Faker.random.word, Faker.random.alphaNumeric])();
168}
169
170export function randomNumOrStr(): string | number {
171 return selectRandom([randomNumber, randomString])();

Callers 9

createUnitFunction · 0.90
extras.spec.tsFile · 0.90
utils.tsFile · 0.85
stringOrRandomValueFunction · 0.85
randomArrayFunction · 0.85
randomValidValueFunction · 0.85
differentValueFunction · 0.85

Calls 1

selectRandomFunction · 0.85

Tested by 1

createUnitFunction · 0.72