(identifier, seed)
| 279 | } |
| 280 | |
| 281 | function randomProperty(identifier, seed) { |
| 282 | if (seed === undefined) { |
| 283 | seed = randomSeed(); |
| 284 | } |
| 285 | |
| 286 | const template = babelTemplate('__getRandomProperty(IDENTIFIER, SEED)'); |
| 287 | return template({ |
| 288 | IDENTIFIER: identifier, |
| 289 | SEED: _numericLiteral(seed), |
| 290 | }).expression; |
| 291 | } |
| 292 | |
| 293 | function randomArguments(path) { |
| 294 | const numArgs = random.randInt(0, MAX_ARGUMENT_COUNT); |
nothing calls this directly
no test coverage detected