diff --git a/container/snippets/system-test/sample.test.js b/container/snippets/system-test/sample.test.js index afad86dee7..d280c0eb94 100644 --- a/container/snippets/system-test/sample.test.js +++ b/container/snippets/system-test/sample.test.js @@ -16,7 +16,9 @@ 'use strict'; const {assert} = require('chai'); -const {execSync} = require('child_process'); +const cp = require('child_process'); + +const execSync = cmd => cp.execSync(cmd, {encoding: 'utf-8'}); describe('container samples', () => { it('should run the quickstart', async () => {