hunk.code_window:             postIds = chunk.order;
               atLatestPost = Boolean(chunk.recent);
               atOldestPost = Boolean(chunk.oldest);
           }
           const shouldHideNewMessageIndicator = shouldStartFromBottomWhenUnread && !isPostsChunkIncludingUnreadsPosts(state, chunk!, unreadChunkTimeStamp);
           if (postIds) {
               formattedPostIds = preparePostIdsForPostList(state, {postIds, lastViewedAt, indicateNewMessages: !shouldHideNewMessageIndicator});
               if (postIds.length) {
  
hunk.labels: keep keep keep keep keep replace keep keep keep keep
hunk.after_edit:         let shouldHideNewMessageIndicator = false;
           if (unreadChunkTimeStamp != null) {
               shouldHideNewMessageIndicator = shouldStartFromBottomWhenUnread && !isPostsChunkIncludingUnreadsPosts(state, chunk!, unreadChunkTimeStamp);
           }
  
hunk.file_path: webapp/channels/src/components/post_view/post_list/index.tsx
hunk.type: replace
file: // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
  // See LICENSE.txt for license information.
  
  jest.mock('redux-persist', () => {
      const {combineReducers} = require('redux');
      const real = jest.requireActual('redux-persist');
  
      return {
          ...real,
          createTransform: () => {
              return {};
          },
  
          persistReducer: jest.fn().mockImplementation((config, reducers) => reducers),
          persistCombineReducers: (persistConfig, reducers) => combineReducers(reducers),
          persistStore: () => {
              return {
                  pause: () => {},
                  purge: () => Promise.resolve(),
                  resume: () => {},
              };
          },
      };
  });
  