From 69df5e168ce35ac702e9ab0659304d68b6a353fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20Adel=C3=B6w?= Date: Mon, 23 Jan 2023 14:23:41 +0100 Subject: [PATCH] Update docs/backend-system/building-plugins-and-modules/02-testing.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Patrik Oldsberg Signed-off-by: Fredrik Adelöw --- .../backend-system/building-plugins-and-modules/02-testing.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/backend-system/building-plugins-and-modules/02-testing.md b/docs/backend-system/building-plugins-and-modules/02-testing.md index 9a2042c4d3..70685e0664 100644 --- a/docs/backend-system/building-plugins-and-modules/02-testing.md +++ b/docs/backend-system/building-plugins-and-modules/02-testing.md @@ -42,8 +42,8 @@ describe('myPlugin', () => { }); ``` -This example shows how to easily access the factories for mock services and -passing options to them, which will override the default mocks. +This example shows how to access the mock service factories and +pass options to them, which will override the default mock services. The returned server also has a `port()` method which returns the dynamically bound listening port. You can use this to perform lower level network