Skip to content

Commit 61bcfd4

Browse files
committed
updated depthLimit test to not error out on minimum value of 2
1 parent b46324c commit 61bcfd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/middleware/express.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ describe('Express Middleware tests', () => {
283283
refillRate: 1,
284284
capacity: 20,
285285
},
286-
depthLimit: 1,
286+
depthLimit: 2,
287287
});
288288

289289
await middleware(mockRequest as Request, mockResponse as Response, nextFunction);

0 commit comments

Comments
 (0)