From 119f265f5e482905dbc45d9a2f9e8ca66a9a1008 Mon Sep 17 00:00:00 2001 From: achingbrain Date: Tue, 21 May 2024 19:10:04 +0100 Subject: [PATCH] chore: await output --- interop/test/ping.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interop/test/ping.spec.ts b/interop/test/ping.spec.ts index 4cb7077e77..035b20497e 100644 --- a/interop/test/ping.spec.ts +++ b/interop/test/ping.spec.ts @@ -18,7 +18,7 @@ import { createLibp2p, type Libp2p, type Libp2pOptions } from 'libp2p' async function redisProxy (commands: any[]): Promise { // retry after "fetch failed" errors as Redis might not be running yet in CI? - const res = fetch(`http://localhost:${process.env.proxyPort ?? ''}/`, { + const res = await fetch(`http://localhost:${process.env.proxyPort ?? ''}/`, { method: 'POST', body: JSON.stringify(commands) })