Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
Marsup authored Jan 15, 2024
1 parent 4cd8d80 commit 1fda1c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2112,6 +2112,7 @@ describe('gunzip', () => {

const err = await expect(Wreck.get(`http://localhost:${server.address().port}`, options)).to.reject();
expect(err).to.be.an.error(/Unexpected token/);
expect(Boom.isBoom(err)).to.be.true();
expect(err.data.res.statusCode).to.equal(200);
expect(err.data.payload).to.equal(Zlib.gzipSync(JSON.stringify({ foo: 'bar' })));
flags.onCleanup = () => server.close();
Expand Down

0 comments on commit 1fda1c3

Please sign in to comment.