Skip to content

Commit

Permalink
Remove istanbul comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mustafaboleken committed Jan 3, 2025
1 parent cf8c8b8 commit 5afe777
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion react/src/Components/Cards/VideoCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ function VideoCard(props) {

// istanbul ignore next
const OverlayButton = ({ title, icon, color, onClick, label }) => (
// istanbul ignore next
<Tooltip title={title} placement="top" style={{margin: '2px'}}>
<Fab onClick={onClick} color={color} aria-label={label} size="small">
<SvgIcon size={36} name={icon} color={theme.palette?.iconColor?.primary} />
Expand Down
1 change: 0 additions & 1 deletion react/src/Components/Footer/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ function Footer(props) {
}
}, [props?.isRecordPluginActive, props?.isEnterDirectly, props?.isPlayOnly]);

/* istanbul ignore next */
return (
<CustomizedGrid
container
Expand Down
1 change: 0 additions & 1 deletion react/src/pages/AntMedia.js
Original file line number Diff line number Diff line change
Expand Up @@ -3019,7 +3019,6 @@ function AntMedia(props) {
webRTCAdaptor?.setVolumeLevel(audioLevel);
}

/* istanbul ignore next */
return (!initialized ? <>
<Grid
container
Expand Down
3 changes: 0 additions & 3 deletions react/src/pages/LayoutPinned.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ function LayoutPinned (props) {
playingParticipants.push(props.videoTrackAssignments.find(e => e.streamId === pinnedParticipant.streamId));
pinnedParticipantName = props?.allParticipants[pinnedParticipant.streamId]?.name;
}
/* istanbul ignore next */
return (
pinnedParticipant ? (
<div className="single-video-container pinned keep-ratio">
Expand Down Expand Up @@ -100,7 +99,6 @@ function LayoutPinned (props) {
if(element?.streamId !== pinnedParticipant?.streamId && playingParticipantsCount < maxPlayingParticipantsCount) {
playingParticipantsCount ++;
playingParticipants.push(element);
/* istanbul ignore next */
return (
<div className="unpinned" key={index}>
<div className="single-video-container">
Expand Down Expand Up @@ -144,7 +142,6 @@ function LayoutPinned (props) {
}

const othersCard = () => {
/* istanbul ignore next */
return (
<>
{showOthers ? (
Expand Down
1 change: 0 additions & 1 deletion react/src/pages/LayoutTiled.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ function LayoutTiled(props) {
}

//console.log("cw:"+cardWidth+" ch:"+cardHeight);
/* istanbul ignore next */
return (
<div
className="single-video-container not-pinned"
Expand Down
1 change: 0 additions & 1 deletion react/src/pages/MeetingRoom.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ const MeetingRoom = React.memo((props) => {

const pinLayout = (typeof firstPinnedParticipant !== "undefined");

/* istanbul ignore next */
return (
<Container
id="meeting-room"
Expand Down
1 change: 0 additions & 1 deletion react/src/pages/WaitingRoom.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,6 @@ function WaitingRoom(props) {
);
}

/* istanbul ignore next */
return (
<Container
id="waiting-room"
Expand Down

0 comments on commit 5afe777

Please sign in to comment.