Skip to content

Commit

Permalink
CI debug
Browse files Browse the repository at this point in the history
  • Loading branch information
rhyslbw committed Jun 5, 2020
1 parent 792c349 commit bd663c2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cli/src/__test__/cli.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,13 @@ describe('CLI Test', () => {
console.log(error)
return done(error)
})
cgqlInit.stdout.on('data', (data) => {
console.log(data)
cgqlInit.stdout.on('data', (data: Buffer) => {
console.log(data.toString())
cgqlInit.stdin.write(acceptDefault)
})
cgqlInit.on('close', () => {
const dockerConf = require(path.join(paths.config, 'docker.json'))
console.log('***', dockerConf)
expect(dockerConf).toHaveProperty('compose')
expect(dockerConf).toHaveProperty('secrets')
expect(dockerConf).toHaveProperty('workingDirectory')
Expand Down

0 comments on commit bd663c2

Please sign in to comment.