Skip to content

Commit

Permalink
chore: await output
Browse files Browse the repository at this point in the history
  • Loading branch information
achingbrain committed May 21, 2024
1 parent e463c68 commit 119f265
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interop/test/ping.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { createLibp2p, type Libp2p, type Libp2pOptions } from 'libp2p'

async function redisProxy (commands: any[]): Promise<any> {
// 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)
})
Expand Down

0 comments on commit 119f265

Please sign in to comment.