(branchFactor: number, depth: number)
| 41 | }); |
| 42 | |
| 43 | function buildData(branchFactor: number, depth: number): any { |
| 44 | if (depth === 0) { |
| 45 | return 1; |
| 46 | } |
| 47 | const d: any = {}; |
| 48 | for (let i = 0; i < branchFactor; i++) { |
| 49 | d[`${i}`] = buildData(branchFactor, depth - 1); |
| 50 | } |
| 51 | return d; |
| 52 | } |
| 53 | |
| 54 | function databaseRemoveTestSuit(threshold: number): void { |
| 55 | describe(`DatabaseRemove when largeThreshold=${threshold}`, () => { |
no outgoing calls
no test coverage detected
searching dependent graphs…