Skip to content

Commit dfc6166

Browse files
committed
Fix test on hapi 18
1 parent d14be33 commit dfc6166

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/manager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ describe('Manager', () => {
311311
server.route({ method: 'GET', path: '/', handler: { view: { template: 'test.html' } } });
312312

313313
const res = await server.inject('/');
314-
expect(res.statusCode).to.equal(204);
314+
expect(res.statusCode).to.be.within(200, 204);
315315
});
316316

317317
it('allows the context to be modified by extensions', async () => {

0 commit comments

Comments
 (0)