Skip to content

Commit

Permalink
Update useDevices mock.
Browse files Browse the repository at this point in the history
  • Loading branch information
rtibbles committed Oct 17, 2023
1 parent 486b54a commit 1727a34
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ const MOCK_DEFAULTS = {
fetchDevices: jest.fn(() => Promise.resolve([])),
baseurl: null,
networkDevices: ref({}),
networkDevicesWithChannels: ref([]),
keepDeviceChannelsUpdated: jest.fn(),
isLoadingChannels: false,
isLoading: false,
};

export function useDevicesMock(overrides = {}) {
Expand Down

0 comments on commit 1727a34

Please sign in to comment.