MCPcopy Create free account
hub / github.com/GoogleCloudPlatform/nodejs-docs-samples / execSync

Function execSync

monitoring/snippets/test/uptime.test.js:21–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19const cp = require('child_process');
20
21const execSync = cmd => cp.execSync(cmd, {encoding: 'utf-8'});
22
23const cmd = 'node uptime.js';
24const projectId =

Callers 1

uptime.test.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected