From 53021a9da1c51d9f8fa5454c36ca1df46a94c439 Mon Sep 17 00:00:00 2001 From: Wolfgang Kulhanek Date: Wed, 22 Oct 2025 17:33:00 +0200 Subject: [PATCH] Fix tests --- tests/scenarios.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/scenarios.test.ts b/tests/scenarios.test.ts index fd7170c..4d9df5a 100644 --- a/tests/scenarios.test.ts +++ b/tests/scenarios.test.ts @@ -94,7 +94,7 @@ class SonosDriver { .get(this.bonobUrl.append({ pathname: "/" }).pathname()) .expect(200) .then((response) => { - const m = response.text.match(/ action="(.*)" /i); + const m = response.text.match(/ action="([^"]+)"/i); return m![1]!; });