Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
19
const
cp = require(
'child_process'
);
20
21
const
execSync = cmd => cp.execSync(cmd, {encoding:
'utf-8'
});
22
23
const
cmd =
'node uptime.js'
;
24
const
projectId =
Callers
1
uptime.test.js
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected