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]!; });