Skip to content

Commit

Permalink
refactor: wrap execSync with encoding: utf-8 (#177)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkwlui authored and JustinBeckwith committed Apr 5, 2019
1 parent 7cdb465 commit aaa87d1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion container/snippets/system-test/sample.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 () => {
Expand Down

0 comments on commit aaa87d1

Please sign in to comment.