Files
bun.sh/test/cli/test/test-randomize.fixture.ts
pfg c4519c7552 Add --randomize --seed flag (#22987)
Outputs the seed when randomizing. Adds --seed flag to reproduce a
random order. Seeds might not produce the same order across operating
systems / bun versions.

Fixes #11847

---------

Co-authored-by: Claude Bot <claude-bot@bun.sh>
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-25 23:47:46 -07:00

4 lines
102 B
TypeScript

test.each(Array.from({ length: 100 }, (_, i) => i + 1))("many %d", item => {
console.log(item);
});