Skip to content

Commit

Permalink
Revert "Update MeetingRoom.test.js"
Browse files Browse the repository at this point in the history
This reverts commit e8ac278.
  • Loading branch information
mustafaboleken committed Dec 28, 2024
1 parent e8ac278 commit 180ce8e
Showing 1 changed file with 0 additions and 78 deletions.
78 changes: 0 additions & 78 deletions react/src/__tests__/pages/MeetingRoom.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,82 +163,4 @@ describe('Reactions Component', () => {
const meetingReactionsDiv = container.querySelector('#meeting-reactions');
expect(meetingReactionsDiv).toHaveStyle('position: fixed');
});

it('renders MeetingRoom component with all props', () => {
const { container } = render(
<MeetingRoom
messageDrawerOpen={false}
participantListDrawerOpen={false}
effectsDrawerOpen={false}
publisherRequestListDrawerOpen={false}
showEmojis={false}
sendReactions={jest.fn()}
setShowEmojis={jest.fn()}
globals={{}}
audioTracks={[]}
participantIdMuted={null}
isMuteParticipantDialogOpen={false}
setMuteParticipantDialogOpen={jest.fn()}
publishStreamId="test-stream-id"
pinVideo={jest.fn()}
allParticipants={{}}
participantUpdated={false}
videoTrackAssignments={[]}
updateMaxVideoTrackCount={jest.fn()}
talkers={[]}
streamName="test-stream"
isPublished={false}
isPlayOnly={false}
isMyMicMuted={false}
isMyCamTurnedOff={false}
setAudioLevelListener={jest.fn()}
setParticipantIdMuted={jest.fn()}
turnOnYourMicNotification={jest.fn()}
turnOffYourMicNotification={jest.fn()}
turnOffYourCamNotification={jest.fn()}
isAdmin={false}
localVideo={null}
localVideoCreate={jest.fn()}
isRecordPluginActive={false}
isEnterDirectly={false}
cameraButtonDisabled={false}
checkAndTurnOffLocalCamera={jest.fn()}
checkAndTurnOnLocalCamera={jest.fn()}
toggleMic={jest.fn()}
microphoneButtonDisabled={false}
isScreenShared={false}
handleStartScreenShare={jest.fn()}
handleStopScreenShare={jest.fn()}
numberOfUnReadMessages={0}
toggleSetNumberOfUnreadMessages={jest.fn()}
handleMessageDrawerOpen={jest.fn()}
participantCount={0}
handleParticipantListOpen={jest.fn()}
requestSpeakerList={[]}
handlePublisherRequestListOpen={jest.fn()}
handlePublisherRequest={jest.fn()}
setLeftTheRoom={jest.fn()}
addFakeParticipant={jest.fn()}
removeFakeParticipant={jest.fn()}
fakeReconnect={jest.fn()}
isBroadcasting={false}
handleSetDesiredTileCount={jest.fn()}
handleBackgroundReplacement={jest.fn()}
microphoneSelected={jest.fn()}
devices={[]}
selectedCamera="default"
cameraSelected={jest.fn()}
selectedMicrophone="default"
selectedBackgroundMode="default"
setSelectedBackgroundMode={jest.fn()}
videoSendResolution="default"
setVideoSendResolution={jest.fn()}
isRecordPluginInstalled={false}
startRecord={jest.fn()}
stopRecord={jest.fn()}
handleEffectsOpen={jest.fn()}
/>
);
expect(container).toBeInTheDocument();
});
});

0 comments on commit 180ce8e

Please sign in to comment.