`n` files under `dir`, each carrying `each` symbols.
(dir: string, n: number, each: number, test = false)
| 371 | describe('pickDefaultDepth', () => { |
| 372 | /** `n` files under `dir`, each carrying `each` symbols. */ |
| 373 | function spread(dir: string, n: number, each: number, test = false) { |
| 374 | return Array.from({ length: n }, (_, i) => ({ |
| 375 | path: `${dir}/f${i}.ts`, |
| 376 | symbols: each, |
| 377 | test, |
| 378 | })); |
| 379 | } |
| 380 | |
| 381 | it('goes deeper when one box holds the program', () => { |
| 382 | // The shape this rule exists for: a React-Native-ish repo whose whole app |