Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
hueniverse committed Oct 11, 2019
1 parent 3eb208d commit ddd6245
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/transmit.js
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,7 @@ describe('transmission', () => {

it('returns a plain file when compression disabled', async () => {

const server = Hapi.server({ compression: { minBytes: 1 }, routes: { files: { relativeTo: __dirname } }, compression: false });
const server = Hapi.server({ routes: { files: { relativeTo: __dirname } }, compression: false });
await server.register(Inert);
server.route({ method: 'GET', path: '/file', handler: (request, h) => h.file(__dirname + '/../package.json') });

Expand Down

0 comments on commit ddd6245

Please sign in to comment.