Skip to content

Commit

Permalink
Remove unnecessary comments
Browse files Browse the repository at this point in the history
  • Loading branch information
romin-halltari committed Nov 15, 2023
1 parent e7ab328 commit 6e5d0e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,11 @@ describe('useInternetConnection', () => {
act(() => {
// @ts-ignore mock calls
NetInfo.addEventListener.mock.calls[0][0]({
type: 'cellular', // Replace with your desired type
type: 'cellular',
isConnected: false,
isInternetReachable: true,
details: {
isConnectionExpensive: true,
// Add other details as needed for your hook
},
});
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,11 @@ describe('useInternetConnection', () => {
act(() => {
// @ts-ignore mock calls
NetInfo.addEventListener.mock.calls[0][0]({
type: 'cellular', // Replace with your desired type
type: 'cellular',
isConnected: false,
isInternetReachable: true,
details: {
isConnectionExpensive: true,
// Add other details as needed for your hook
},
});
});
Expand Down

0 comments on commit 6e5d0e6

Please sign in to comment.