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

Function exec

dialogflow-cx/test/list-intents.test.js:20–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18const {describe, it} = require('mocha');
19const execSync = require('child_process').execSync;
20const exec = cmd => execSync(cmd, {encoding: 'utf8'});
21
22describe('list intents', () => {
23 const cmd = 'node list-intents.js';

Callers 1

Calls 1

execSyncFunction · 0.70

Tested by

no test coverage detected