mirror of
https://github.com/yume-chan/ya-webadb.git
synced 2025-10-06 03:50:18 +02:00
fix(scrcpy): options.setListDisplays
not work for some versions
fixes #567
This commit is contained in:
parent
7056feb3b1
commit
b3db76b96a
10 changed files with 126 additions and 2 deletions
|
@ -22,4 +22,12 @@ describe("ScrcpyOptions1_16", () => {
|
|||
]);
|
||||
});
|
||||
});
|
||||
|
||||
describe("setListDisplays", () => {
|
||||
it("should set `display` to `-1`", () => {
|
||||
const options = new ScrcpyOptions1_16({});
|
||||
options.setListDisplays();
|
||||
expect(options.value.displayId).toBe(-1);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue