()
| 23 | expect(stdout).toContain('"System":'); |
| 24 | |
| 25 | const parse = () => { |
| 26 | const output = JSON.parse(stdout); |
| 27 | expect(output.System).toBeTruthy(); |
| 28 | expect(output.Binaries).toBeTruthy(); |
| 29 | expect(output.System.OS).toBeTruthy(); |
| 30 | expect(output.System.CPU).toBeTruthy(); |
| 31 | }; |
| 32 | |
| 33 | expect(parse).not.toThrow(); |
| 34 | }); |
nothing calls this directly
no outgoing calls
no test coverage detected