(calls)
| 316 | } |
| 317 | |
| 318 | function configValues(calls) { |
| 319 | const values = {}; |
| 320 | for (const args of calls) { |
| 321 | if (!Array.isArray(args) || args.length < 2) continue; |
| 322 | if (args[0] !== "config" || args[1] !== "set") continue; |
| 323 | const key = args[2]; |
| 324 | const value = args[3]; |
| 325 | if (key) values[key] = value; |
| 326 | } |
| 327 | return values; |
| 328 | } |
| 329 | |
| 330 | function configOperations(fixture) { |
| 331 | return readJsonLines(fixture.configPath); |
no outgoing calls
no test coverage detected