From 22ea101e401f6c64c4a6890b86295b539d74fd4d Mon Sep 17 00:00:00 2001 From: Aaron Sutula Date: Tue, 9 Jun 2020 18:44:04 -0500 Subject: [PATCH] test: wait for grpcweb endpoint 200 Signed-off-by: Aaron Sutula --- src/index.spec.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/index.spec.ts b/src/index.spec.ts index 6eb3b386..87dc8eac 100644 --- a/src/index.spec.ts +++ b/src/index.spec.ts @@ -16,10 +16,9 @@ before(async function () { } }) await wait({ - resources: ["tcp:6002", "tcp:7777", "tcp:5001"], + resources: ["http://0.0.0.0:6002"], timeout: 120000, }) - await new Promise((r) => setTimeout(r, 10000)) }) after(() => {