Skip to content

Commit 48a021b

Browse files
test: fix
1 parent 3049ea5 commit 48a021b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/middleware.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3771,8 +3771,8 @@ describe.each([
37713771

37723772
expect(response.statusCode).toBe(500);
37733773

3774-
// hapi and hono don't support passthrough errors
3775-
if (name === "hapi" || name === "hono") {
3774+
// hapi doesn't support passthrough errors?
3775+
if (name === "hapi") {
37763776
expect(nextWasCalled).toBe(false);
37773777
} else {
37783778
expect(nextWasCalled).toBe(true);

0 commit comments

Comments
 (0)