Update docs/backend-system/building-plugins-and-modules/02-testing.md

Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2023-01-23 14:23:41 +01:00
committed by GitHub
parent ff53f764e1
commit 69df5e168c
@@ -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