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

Function execSync

vision/system-test/setEndpoint.test.js:20–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18const {describe, it} = require('mocha');
19const cp = require('child_process');
20const execSync = cmd => cp.execSync(cmd, {encoding: 'utf-8'});
21
22describe('set endpoint for vision api call', () => {
23 it('should detect text in a remote file from a pre-set api endpoint', () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected