Skip to content

Commit

Permalink
(chore) Add useConnectivity mock (#598)
Browse files Browse the repository at this point in the history
  • Loading branch information
denniskigen authored Feb 3, 2023
1 parent acc0dae commit 088ac09
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/framework/esm-framework/mock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ export function isVersionSatisfied() {
return true;
}

export function useConnectivity() {
return true;
}

/* esm-api */
export const setSessionLocation = jest.fn(() => Promise.resolve());

Expand Down

0 comments on commit 088ac09

Please sign in to comment.