From a9eefd16450aaa1ee203f5d718c9789ec9aa40ec Mon Sep 17 00:00:00 2001 From: Sebastian Martinez Date: Thu, 21 Dec 2023 11:34:46 +0100 Subject: [PATCH] Fix authenticatedPeer fixture --- tests/support/fixtures.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/support/fixtures.ts b/tests/support/fixtures.ts index 319bf451b..27c47c3cb 100644 --- a/tests/support/fixtures.ts +++ b/tests/support/fixtures.ts @@ -162,9 +162,7 @@ export const test = base.extend<{ "--listen", `${peer.httpdBaseUrl.hostname}:${peer.httpdBaseUrl.port}`, ]); - const match = stdout.match( - /Open the following URL to connect: (http:\/\/\S+)/, - ); + const match = stdout.match(/Visit (http:\/\/\S+) to connect/); assert( match !== null && match[1], `Failed to get authentication URL from: ${stdout}`,