(calls)
| 304 | } |
| 305 | |
| 306 | function configValues(calls) { |
| 307 | const values = {}; |
| 308 | for (const args of calls) { |
| 309 | if (!Array.isArray(args) || args.length < 2) continue; |
| 310 | if (args[0] !== "config" || args[1] !== "set") continue; |
| 311 | const key = args[2]; |
| 312 | const value = args[3]; |
| 313 | if (key) values[key] = value; |
| 314 | } |
| 315 | return values; |
| 316 | } |
| 317 | |
| 318 | function configOperations(fixture) { |
| 319 | return readJsonLines(fixture.configPath); |
no outgoing calls
no test coverage detected