Skip to content

Commit

Permalink
Fix integration test to not assume '1' as first deviceID
Browse files Browse the repository at this point in the history
  • Loading branch information
pimterry committed Jun 14, 2024
1 parent 1898d26 commit 1da43ed
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/integration-tests.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,11 @@ describe("Usbmux-client integration tests", () => {

it("can read from lockdown service", async () => {
client = new UsbmuxClient();
const deviceValues = await client.queryAllDeviceValues(1);

const devices = await client.getDevices();
const deviceId = Object.keys(devices)[0];

const deviceValues = await client.queryAllDeviceValues(deviceId);

console.log(deviceValues);

Expand Down

0 comments on commit 1da43ed

Please sign in to comment.