протестировать с помощью jest компонент: const Content: FC = () => {
  const dispatch = useAppDispatch();

  const [isContextMenuOpen, setIsContextMenuOpen] = useState(false);

  const isLogsModalVisible = useAppSelector(
    (state) => state.app.admin.ui.showLogs,
  );
  const selectedSessions = useAppSelector(selectSelectedSessions);
  const columnsHidden = useAppSelector(selectSessionsColumnsHidden);
  const sessions = useAppSelector(selectFilteredSessionsData);
  const sortList = useAppSelector(selectSessionsSortList);
  const filters = useAppSelector(selectSessionsFilters);
  const contextMenuTarget = useAppSelector(selectContextMenuTarget);
  const allColumns = useAppSelector(selectSessionsColumns);
  const serviceClasses = clsx(styles.servicesList, {
    [styles.compactList]: isLogsModalVisible,
  });

  useEffect(() => {
    dispatch(loadUserSessions());
  }, [sortList, filters, dispatch]);

  useEffect(() => {
    return () => {
      dispatch(resetSessions());
    };
  }, []);

  useHotkeys('ctrl+a', (event) => {
    event.preventDefault();
    dispatch(setSelectedSessions(sessions.map(({ session_id }) => session_id)));
  });

  const onContextClick = async (e: {
    key: string;
    domEvent: React.MouseEvent<HTMLElement> | React.KeyboardEvent<HTMLElement>;
  }) => {
    e.domEvent.stopPropagation();

    const key = e.key;
    switch (key) {
      case 'endSession':
        dispatch(deleteSelectedSessions());
        break;
      case 'csv':
        exportSessions(dispatch, 'csv', allColumns);
        break;
      case 'json':
        exportSessions(dispatch, 'json', allColumns);
        break;
      default:
        console.log('DEFAULT');
        break;
    }
    if (key.includes(CommonActions.AddColumn)) {
      const [, col] = key.split('|');
      dispatch(addVisibleColumn(col as SessionColumn));
    }
  };

  const getHiddenColumnIcon = (columnKey: string) => {
    let hiddenColumnIcon;

    const isFilterActive = filters
      .map(({ field }) => field)
      .includes(columnKey);

    const sortState = sortList.find(({ field }) => field === columnKey);

    if (isFilterActive && sortState) {
      const isSortAsc = sortState.sort === 'ASC';

      hiddenColumnIcon = (
        <>
          {isSortAsc && VectorIcon ? (
            <VectorIcon />
          ) : (
            VectorIcon && <VectorIcon className={styles.vectorIconDesc} />
          )}
          {FilterIcon && <FilterIcon />}
        </>
      );
    } else if (isFilterActive) {
      hiddenColumnIcon = FilterIcon && <FilterIcon />;
    } else if (sortState) {
      const isSortAsc = sortState.sort === 'ASC';
      if (isSortAsc) {
        hiddenColumnIcon = SortAscIcon && <SortAscIcon width={14} />;
      } else {
        hiddenColumnIcon = SortDescIcon && <SortDescIcon width={14} />;
      }
    }
    return hiddenColumnIcon;
  };

  const contextMenuArray = (
    contextMenuTarget: 'row' | 'table' | 'tableHeader',
  ): MenuProps['items'] => {
    switch (contextMenuTarget) {
      case 'row':
        return selectedSessions.length
          ? [
              {
                key: 'export',
                label: 'Экспортировать',
                icon: ExportTableIcon && <ExportTableIcon width={15} />,
                children: [
                  {
                    key: 'csv',
                    label: 'CSV',
                  },
                  // {
                  //   key: 'excel',
                  //   label: 'Excel',
                  // },
                  {
                    key: 'json',
                    label: 'JSON',
                  },
                ],
              },
              {
                key: 'endSession',
                label: 'Завершить',
                icon: TrashIcon && <TrashIcon />,
                disabled: !selectedSessions?.length,
              },
            ]
          : [];
      case 'table':
        return [
          {
            key: 'export',
            label: 'Экспортировать',
            icon: ExportTableIcon && <ExportTableIcon width={15} />,
            children: [
              {
                key: 'csv',
                label: 'CSV',
              },
              // {
              //   key: 'excel',
              //   label: 'Excel',
              // },
              {
                key: 'json',
                label: 'JSON',
              },
            ],
          },
        ];
      case 'tableHeader':
        const filtersMap = filters.reduce(
          (acc: Record<string, boolean>, { field }) => ({
            ...acc,
            [field]: true,
          }),
          {},
        );
        return [
          {
            key: CommonActions.AddColumn,
            label: 'Добавить столбец',
            icon: AddColumnIcon && <AddColumnIcon />,
            disabled: !columnsHidden.length,
            children: columnsHidden.map(({ key, title }) => {
              return {
                key: `${CommonActions.AddColumn}|${key}`,
                label: (
                  <div className={styles.addColumnMenuItem}>
                    <div className={styles.iconsContainer}>
                      {getHiddenColumnIcon(key)}
                    </div>
                    {title}
                  </div>
                ),
                id: `admin-sessions-tableHeaderDropDown-${key}`,
              };
            }),
            id: 'admin-sessions-tableHeaderDropDown-addColumn',
          },
        ];
    }
  };

  return (
    <div
      data-testid="content_container"
      className={serviceClasses}
      onContextMenu={(e) => e.preventDefault()}
    >
      <ContentBar />
      <Dropdown
        trigger={['contextMenu']}
        dropdownRender={() => (
          <ContextMenu
            items={contextMenuArray(contextMenuTarget)}
            type={'adminMenu'}
            onClick={(e) => onContextClick(e)}
          />
        )}
        onOpenChange={setIsContextMenuOpen}
        destroyPopupOnHide
      >
        <div
          className={clsx(
            styles.tableWrapper,
            isContextMenuOpen && selectedSessions.length ? '' : 'hoverEnabled',
          )}
        >
          <AdminTable minCellWidth={120} />
        </div>
      </Dropdown>
      {/* <CustomModal
        visible={autoRefreshModalShow}
        title="Автообновление таблицы"
        onClose={() => setAutoRefreshModalShow(false)}
        minWidth={397}
        content={
          <div className={styles.modalContent}>
            <div className={styles.dark}>
              <div className={styles.subtitle}>Временной интервал</div>
              <div className={styles.row}>
                <Select
                  value={autorefreshPeriod}
                  onChange={(val) =>
                    setAutorefreshPeriod(val as typeof autorefreshPeriod)
                  }
                >
                  <Option value="never">Никогда</Option>
                  <Option value="10">10 сек</Option>
                  <Option value="30">30 сек</Option>
                  <Option value="60">60 сек</Option>
                </Select>
              </div>
            </div>
            <div className={styles.buttons}>
              <Button
                color={'blue'}
                onClick={() => setAutoRefreshModalShow(false)}
              >
                Закрыть
              </Button>
            </div>
          </div>
        }
      /> */}
    </div>
  );
};