backend-test-utils: some ServiceFactoryTester tweaks

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2023-08-30 17:27:04 +02:00
parent 187cc4680e
commit 6cc775b8c2
3 changed files with 18 additions and 18 deletions
@@ -23,7 +23,7 @@ import { httpRouterServiceFactory } from './httpRouterServiceFactory';
describe('httpRouterFactory', () => {
it('should register plugin paths', async () => {
const rootHttpRouter = mockServices.rootHttpRouter.mock();
const tester = ServiceFactoryTester.from(httpRouterServiceFactory(), {
const tester = ServiceFactoryTester.from(httpRouterServiceFactory, {
dependencies: [rootHttpRouter.factory],
});