From 89a091ccabf17580638f52a773f2d4f872792370 Mon Sep 17 00:00:00 2001 From: Alexander Liesenfeld Date: Wed, 13 Nov 2024 09:15:03 +0100 Subject: [PATCH] Correct mock evaluation order in documentation --- docs/website/src/content/docs/miscellaneous/faq.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/website/src/content/docs/miscellaneous/faq.mdx b/docs/website/src/content/docs/miscellaneous/faq.mdx index 3bde1a6..ae1d435 100644 --- a/docs/website/src/content/docs/miscellaneous/faq.mdx +++ b/docs/website/src/content/docs/miscellaneous/faq.mdx @@ -8,8 +8,8 @@ Yes, you can start multiple mock servers. However, `httpmock` uses a server pool servers. You can adjust this limit by setting the `HTTPMOCK_MAX_SERVERS` environment variable. ### In which order are mocks evaluated? -When the `httpmock` server receives a request that matches multiple mocks, they are evaluated in -reverse order of their definition. This means the most recently defined mock takes precedence and will be used. +When the `httpmock` server receives a request that matches multiple mocks, they are evaluated in the order +of their definition. This means the first defined mock takes precedence and will be used. ### How does Proxy Mode work?