From 8ae9d24ee034c0c7cc13be45303268a3b587dc9d Mon Sep 17 00:00:00 2001 From: Aristides Staffieri Date: Fri, 5 Jan 2024 09:07:38 -0700 Subject: [PATCH] tweaks test for async update to init api --- src/helper/test-helper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }