Skip to content

Commit

Permalink
[test] fix http_server tests
Browse files Browse the repository at this point in the history
  • Loading branch information
watson committed Dec 15, 2020
1 parent 448040d commit 284f1cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/server/http/http_server.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1166,7 +1166,7 @@ describe('timeout options', () => {
router.get(
{
path: '/',
validate: { body: schema.any() },
validate: false, // TODO: Figure out if we can/should use `{ body: schema.any() }` instead
},
(context, req, res) => {
return res.ok({
Expand Down Expand Up @@ -1199,7 +1199,7 @@ describe('timeout options', () => {
router.get(
{
path: '/',
validate: { body: schema.any() },
validate: false, // TODO: Figure out if we can/should use `{ body: schema.any() }` instead
options: { timeout: { idleSocket: 12000 } },
},
(context, req, res) => {
Expand Down

0 comments on commit 284f1cc

Please sign in to comment.