diff --git a/src/helper/test-helper.ts b/src/helper/test-helper.ts index 63743e0..cd90429 100644 --- a/src/helper/test-helper.ts +++ b/src/helper/test-helper.ts @@ -278,7 +278,7 @@ jest } ); async function getDevServer() { - const server = initApiServer(mockMercuryClient, testLogger, register); + const server = await initApiServer(mockMercuryClient, testLogger, register); await server.listen(); return server; }