From 3ece00e01e8bb6dc677ef60a490cb4d07d43d760 Mon Sep 17 00:00:00 2001 From: Artem Zakharchenko Date: Sun, 21 Apr 2024 11:13:10 +0200 Subject: [PATCH] test(error.node): rewrite jsdoc --- .../scenarios/on-unhandled-request/error.node.test.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/node/msw-api/setup-server/scenarios/on-unhandled-request/error.node.test.ts b/test/node/msw-api/setup-server/scenarios/on-unhandled-request/error.node.test.ts index 36f022abd..a84080bb6 100644 --- a/test/node/msw-api/setup-server/scenarios/on-unhandled-request/error.node.test.ts +++ b/test/node/msw-api/setup-server/scenarios/on-unhandled-request/error.node.test.ts @@ -31,8 +31,9 @@ beforeAll(async () => { return }), http.post(httpServer.http.url('/implicit-return'), () => { - // The handler that has no return also performs the request as-is, - // still treating this request as handled. + // The handler that has no return value so it falls through any + // other matching handlers (whicbh are none). In the end, + // the request is performed as-is and is still considered handled. }), ) server.listen({ onUnhandledRequest: 'error' })