Fix tests

This commit is contained in:
Wolfgang Kulhanek
2025-10-22 17:33:00 +02:00
parent f8ff9f30fb
commit 53021a9da1

View File

@@ -94,7 +94,7 @@ class SonosDriver {
.get(this.bonobUrl.append({ pathname: "/" }).pathname()) .get(this.bonobUrl.append({ pathname: "/" }).pathname())
.expect(200) .expect(200)
.then((response) => { .then((response) => {
const m = response.text.match(/ action="(.*)" /i); const m = response.text.match(/ action="([^"]+)"/i);
return m![1]!; return m![1]!;
}); });