(path)
| 291 | } |
| 292 | |
| 293 | function randomArguments(path) { |
| 294 | const numArgs = random.randInt(0, MAX_ARGUMENT_COUNT); |
| 295 | const args = []; |
| 296 | |
| 297 | for (let i = 0; i < numArgs; i++) { |
| 298 | args.push(randomValue(path)); |
| 299 | } |
| 300 | |
| 301 | return args.map(_unwrapExpressionStatement); |
| 302 | } |
| 303 | |
| 304 | function randomValue(path) { |
| 305 | const probability = random.random(); |
no test coverage detected