(calls)
| 329 | } |
| 330 | |
| 331 | function configValues(calls) { |
| 332 | const values = {}; |
| 333 | for (const args of calls) { |
| 334 | if (!Array.isArray(args) || args.length < 2) continue; |
| 335 | if (args[0] !== "config" || args[1] !== "set") continue; |
| 336 | const key = args[2]; |
| 337 | const value = args[3]; |
| 338 | if (key) values[key] = value; |
| 339 | } |
| 340 | return values; |
| 341 | } |
| 342 | |
| 343 | function configOperations(fixture) { |
| 344 | return readJsonLines(fixture.configPath); |
no outgoing calls
no test coverage detected