mirror of
https://github.com/wkulhanek/bonob.git
synced 2025-12-21 17:33:29 +01:00
Fix tests
This commit is contained in:
@@ -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]!;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user