Skip to content

Commit

Permalink
Removing debug decorations to avoid failures in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sbosio committed Aug 15, 2024
1 parent e23d14e commit d1c32e8
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions test/api-client.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -474,8 +474,8 @@ describe('api_client', () => {

expect(cmd.heroku.options.debug).to.eq(true)
expect(cmd.heroku.options.debugHeaders).to.eq(false)
expect(stderr.output).to.contain('http → GET https://api.heroku.com/apps')
expect(stderr.output).not.to.contain("http accept: 'application/vnd.heroku+json; version=3")
expect(stderr.output).to.contain('GET https://api.heroku.com/apps')
expect(stderr.output).not.to.contain("accept: 'application/vnd.heroku+json; version=3")
})
})

Expand All @@ -498,8 +498,8 @@ describe('api_client', () => {

expect(cmd.heroku.options.debug).to.eq(true)
expect(cmd.heroku.options.debugHeaders).to.eq(true)
expect(stderr.output).to.contain('http → GET https://api.heroku.com/apps')
expect(stderr.output).to.contain("http accept: 'application/vnd.heroku+json; version=3")
expect(stderr.output).to.contain('GET https://api.heroku.com/apps')
expect(stderr.output).to.contain("accept: 'application/vnd.heroku+json; version=3")
})
})
})
Expand All @@ -523,8 +523,8 @@ describe('api_client', () => {

expect(cmd.heroku.options.debug).to.eq(false)
expect(cmd.heroku.options.debugHeaders).to.eq(true)
expect(stderr.output).not.to.contain('http → GET https://api.heroku.com/apps')
expect(stderr.output).not.to.contain("http accept: 'application/vnd.heroku+json; version=3")
expect(stderr.output).not.to.contain('GET https://api.heroku.com/apps')
expect(stderr.output).not.to.contain("accept: 'application/vnd.heroku+json; version=3")
})
})

Expand All @@ -543,8 +543,8 @@ describe('api_client', () => {

expect(cmd.heroku.options.debug).to.eq(false)
expect(cmd.heroku.options.debugHeaders).to.eq(false)
expect(stderr.output).not.to.contain('http → GET https://api.heroku.com/apps')
expect(stderr.output).not.to.contain("http accept: 'application/vnd.heroku+json; version=3")
expect(stderr.output).not.to.contain('GET https://api.heroku.com/apps')
expect(stderr.output).not.to.contain("accept: 'application/vnd.heroku+json; version=3")
})
})
})
Expand Down

0 comments on commit d1c32e8

Please sign in to comment.