// I hijacked this from redux chrome dev tools state for a
// directory diff
export const ReduxStoreMock = {
  selectedPath:
    '/Users/Bee/projects/create-react-app/packages/cra-template-typescript',
  commits: [
    {
      id: '94932bedc09976aeac43615d95906aa2dcfefa1f',
      files: [
        {
          linesAdded: 11,
          linesDeleted: 9,
          name: 'packages/cra-template-typescript/template.json',
        },
      ],
      body: '',
      message:
        'Allow additional package keys and add blacklist (#8082) (#8219)',
      hash: '94932bed',
      authorName: 'Tom Valorsa',
      authorEmail: 'tomvalorsa@gmail.com',
      relativeDate: '8 days ago',
      authorDate: 1578831003,
      linesAdded: 11,
      linesDeleted: 9,
      index: 0,
    },
    {
      id: 'c03bb366e0e901b33acd9783db3003cb49eddf80',
      files: [
        {
          linesAdded: 0,
          linesDeleted: 0,
          name: 'packages/cra-template-typescript/template/public/favicon.ico',
        },
      ],
      body:
        'The old favicon was the same as the official react documentation, which is a minor annoyance during development when trying to find the tab you want. The new favicon is just the old with inverted colors.<br><br>Closes #7957',
      message: 'Replace favicon in templates (#8194)',
      hash: 'c03bb366',
      authorName: 'Alex Guerra',
      authorEmail: 'alex@heyimalex.com',
      relativeDate: '3 weeks ago',
      authorDate: 1577735580,
      linesAdded: 0,
      linesDeleted: 0,
      index: 1,
    },
    {
      id: '1a66971f9e2f255d6278ade61e70517faf5839db',
      files: [
        {
          linesAdded: 2,
          linesDeleted: 2,
          name: 'packages/cra-template-typescript/template.json',
        },
      ],
      body: '',
      message: 'Bump dependencies (#8024)',
      hash: '1a66971f',
      authorName: 'Ian Schmitz',
      authorEmail: 'ianschmitz@gmail.com',
      relativeDate: '8 weeks ago',
      authorDate: 1574639295,
      linesAdded: 2,
      linesDeleted: 2,
      index: 2,
    },
    {
      id: '5d24a5e88f67ad303e2169795f080009241f9f86',
      files: [
        {
          linesAdded: 1,
          linesDeleted: 1,
          name: 'packages/cra-template-typescript/template/public/index.html',
        },
      ],
      body: '',
      message: 'Prefix apple-touch-icon links with PUBLIC_URL. (#8005)',
      hash: '5d24a5e8',
      authorName: 'Ben Blank',
      authorEmail: 'ben.blank+github@gmail.com',
      relativeDate: '8 weeks ago',
      authorDate: 1574596442,
      linesAdded: 1,
      linesDeleted: 1,
      index: 3,
    },
    {
      id: '211694a8a22a4c4b954e729e0d7eb946cf0f8d60',
      files: [
        {
          linesAdded: 1,
          linesDeleted: 1,
          name: 'packages/cra-template-typescript/template.json',
        },
      ],
      body: '',
      message: 'Fix CI (#7951)',
      hash: '211694a8',
      authorName: 'Ian Schmitz',
      authorEmail: 'ianschmitz@gmail.com',
      relativeDate: '2 months ago',
      authorDate: 1573268056,
      linesAdded: 1,
      linesDeleted: 1,
      index: 4,
    },
    {
      id: '8a1ee2f7a531d83cb76cc882d1e346c5cdd55f56',
      files: [
        {
          linesAdded: 6,
          linesDeleted: 1,
          name: 'packages/cra-template-typescript/template/src/App.css',
        },
        {
          linesAdded: 1,
          linesDeleted: 1,
          name: 'packages/cra-template-typescript/template/src/App.test.tsx',
        },
      ],
      body: '',
      message: 'Make JavaScript and TypeScript templates consistent (#7944)',
      hash: '8a1ee2f7',
      authorName: 'RJ Morgan',
      authorEmail: '22164266+suprj@users.noreply.github.com',
      relativeDate: '3 months ago',
      authorDate: 1573086620,
      linesAdded: 7,
      linesDeleted: 2,
      index: 5,
    },
    {
      id: '2de57fe15a69a84fadb08ce549599c7de5a9d3b2',
      files: [
        {
          linesAdded: 3,
          linesDeleted: 0,
          name: 'packages/cra-template-typescript/template.json',
        },
        {
          linesAdded: 5,
          linesDeleted: 5,
          name: 'packages/cra-template-typescript/template/src/App.test.tsx',
        },
        {
          linesAdded: 5,
          linesDeleted: 0,
          name: 'packages/cra-template-typescript/template/src/setupTests.ts',
        },
      ],
      body: '',
      message: 'Add @testing-library to the default templates (#7881)',
      hash: '2de57fe1',
      authorName: 'Kent C. Dodds',
      authorEmail: 'me+github@kentcdodds.com',
      relativeDate: '3 months ago',
      authorDate: 1572385015,
      linesAdded: 13,
      linesDeleted: 5,
      index: 6,
    },
    {
      id: '4c0c81953d090dbf122e126f2b6b8c803d4a0569',
      files: [
        {
          linesAdded: 20,
          linesDeleted: 0,
          name: 'packages/cra-template-typescript/README.md',
        },
        {
          linesAdded: 28,
          linesDeleted: 0,
          name: 'packages/cra-template-typescript/package.json',
        },
        {
          linesAdded: 9,
          linesDeleted: 0,
          name: 'packages/cra-template-typescript/template.json',
        },
        {
          linesAdded: 44,
          linesDeleted: 0,
          name: 'packages/cra-template-typescript/template/README.md',
        },
        {
          linesAdded: 23,
          linesDeleted: 0,
          name: 'packages/cra-template-typescript/template/gitignore',
        },
        {
          linesAdded: 0,
          linesDeleted: 0,
          name: 'packages/cra-template-typescript/template/public/favicon.ico',
        },
        {
          linesAdded: 43,
          linesDeleted: 0,
          name: 'packages/cra-template-typescript/template/public/index.html',
        },
        {
          linesAdded: 0,
          linesDeleted: 0,
          name: 'packages/cra-template-typescript/template/public/logo192.png',
        },
        {
          linesAdded: 0,
          linesDeleted: 0,
          name: 'packages/cra-template-typescript/template/public/logo512.png',
        },
        {
          linesAdded: 25,
          linesDeleted: 0,
          name:
            'packages/cra-template-typescript/template/public/manifest.json',
        },
        {
          linesAdded: 2,
          linesDeleted: 0,
          name: 'packages/cra-template-typescript/template/public/robots.txt',
        },
        {
          linesAdded: 33,
          linesDeleted: 0,
          name: 'packages/cra-template-typescript/template/src/App.css',
        },
        {
          linesAdded: 9,
          linesDeleted: 0,
          name: 'packages/cra-template-typescript/template/src/App.test.tsx',
        },
        {
          linesAdded: 26,
          linesDeleted: 0,
          name: 'packages/cra-template-typescript/template/src/App.tsx',
        },
        {
          linesAdded: 13,
          linesDeleted: 0,
          name: 'packages/cra-template-typescript/template/src/index.css',
        },
        {
          linesAdded: 12,
          linesDeleted: 0,
          name: 'packages/cra-template-typescript/template/src/index.tsx',
        },
        {
          linesAdded: 7,
          linesDeleted: 0,
          name: 'packages/cra-template-typescript/template/src/logo.svg',
        },
        {
          linesAdded: 145,
          linesDeleted: 0,
          name:
            'packages/cra-template-typescript/template/src/serviceWorker.ts',
        },
      ],
      body:
        '* Add template support<br><br>* Update templates version check\r<br><br>* Update TypeScript template README\r<br>',
      message: 'Add template support (#7716)',
      hash: '4c0c8195',
      authorName: 'Brody McKee',
      authorEmail: 'mrmckeb@users.noreply.github.com',
      relativeDate: '3 months ago',
      authorDate: 1571955461,
      linesAdded: 439,
      linesDeleted: 0,
      index: 7,
    },
  ],
  highlightedCommitIds: [],
  isFetching: false,
  totalCommits: 8,
  earliestCommitDate: 1571955461,
  latestCommitDate: 1578831003,
  hasUncommittedChanges: false,
  existsLocally: true,
  gitRoot: '/Users/Bee/projects/create-react-app',
  isFileSelected: false,
  diff: {
    isDirectory: true,
    leftFileContents: null,
    rightFileContents: null,
    modifiedFiles: [
      {
        status: 'modified',
        path: 'packages/cra-template-typescript/template.json',
        delta: 20,
      },
    ],
    rightCommit: '94932bedc09976aeac43615d95906aa2dcfefa1f',
    leftCommit: 'c03bb366e0e901b33acd9783db3003cb49eddf80',
    path:
      '/Users/Bee/projects/create-react-app/packages/cra-template-typescript',
  },
  isDiffDeferred: false,
  isDiffFetching: false,
  diffLeftCommit: {
    id: 'c03bb366e0e901b33acd9783db3003cb49eddf80',
    files: [
      {
        linesAdded: 0,
        linesDeleted: 0,
        name: 'packages/cra-template-typescript/template/public/favicon.ico',
      },
    ],
    body:
      'The old favicon was the same as the official react documentation, which is a minor annoyance during development when trying to find the tab you want. The new favicon is just the old with inverted colors.<br><br>Closes #7957',
    message: 'Replace favicon in templates (#8194)',
    hash: 'c03bb366',
    authorName: 'Alex Guerra',
    authorEmail: 'alex@heyimalex.com',
    relativeDate: '3 weeks ago',
    authorDate: 1577735580,
    linesAdded: 0,
    linesDeleted: 0,
    index: 1,
  },
  diffRightCommit: {
    id: '94932bedc09976aeac43615d95906aa2dcfefa1f',
    files: [
      {
        linesAdded: 11,
        linesDeleted: 9,
        name: 'packages/cra-template-typescript/template.json',
      },
    ],
    body: '',
    message: 'Allow additional package keys and add blacklist (#8082) (#8219)',
    hash: '94932bed',
    authorName: 'Tom Valorsa',
    authorEmail: 'tomvalorsa@gmail.com',
    relativeDate: '8 days ago',
    authorDate: 1578831003,
    linesAdded: 11,
    linesDeleted: 9,
    index: 0,
  },
  startDate: null,
  endDate: null,
  rerenderRequestedAt: 1579547455594,
  authorsContainerSort: 'time',
  search: '',
  commitsContainerSort: 'time',
  filesContainerSort: 'time',
  openSidePanelGroup: 'authors',
};
