MCPcopy Create free account
hub / github.com/glideapps/quicktype / testCLI

Function testCLI

test/test.ts:80–86  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

78}
79
80function testCLI() {
81 console.log(`* CLI sanity check`);
82 const qt = args => exec(`node dist/cli.js ${args}`);
83
84 console.log("* Ensure we can quicktype a URL");
85 qt(`https://blockchain.info/latestblock`);
86}
87
88// skip 2 `node` args
89main(process.argv.slice(2)).catch(reason => {

Callers 1

mainFunction · 0.85

Calls 1

qtFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…