Skip to content

Commit 9748074

Browse files
committed
tests: remove test for error in useMessageContext
1 parent e8d5e10 commit 9748074

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

package/src/contexts/__tests__/index.test.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import {
99
useChannelsContext,
1010
useChatContext,
1111
useImageGalleryContext,
12-
useMessageContext,
1312
useMessageOverlayContext,
1413
useMessagesContext,
1514
useOverlayContext,
@@ -75,10 +74,6 @@ describe('contexts hooks in a component throws an error with message when not wr
7574
useImageGalleryContext,
7675
`The useImageGalleryContext hook was called outside the ImageGalleryContext Provider. Make sure you have configured OverlayProvider component correctly - https://getstream.io/chat/docs/sdk/reactnative/basics/hello_stream_chat/#overlay-provider`,
7776
],
78-
[
79-
useMessageContext,
80-
`The useMessageContext hook was called outside of the MessageContext provider. Make sure you have configured MessageList component correctly - https://getstream.io/chat/docs/sdk/reactnative/basics/hello_stream_chat/#message-list`,
81-
],
8277
[
8378
useMessageOverlayContext,
8479
`The useMessageOverlayContext hook was called outside the MessageOverlayContext Provider. Make sure you have configured OverlayProvider component correctly - https://getstream.io/chat/docs/sdk/reactnative/basics/hello_stream_chat/#overlay-provider`,

0 commit comments

Comments
 (0)