MCPcopy Create free account
hub / github.com/webpack/webpack-cli / parse

Function parse

test/info/output.test.js:25–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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 });

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected