Skip to content

Commit

Permalink
chore: Remove virtual renderer flag pulls files changed diff (#3442)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholas-codecov authored Oct 30, 2024
1 parent 1641fbb commit 3303c04
Show file tree
Hide file tree
Showing 18 changed files with 496 additions and 359 deletions.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { UploadTypeEnum } from 'shared/utils/commit'

import FilesChangedTable, { getFilter } from './FilesChangedTable'

vi.mock('../FileDiff', () => ({ default: () => 'FileDiff' }))
vi.mock('../PullFileDiff', () => ({ default: () => 'PullFileDiff' }))

const mockImpactedFiles = [
{
Expand Down Expand Up @@ -410,7 +410,7 @@ describe('FilesChangedTable', () => {
expect(expander).toBeInTheDocument()
await user.click(expander)

const pullFileDiff = await screen.findByText('FileDiff')
const pullFileDiff = await screen.findByText('PullFileDiff')
expect(pullFileDiff).toBeInTheDocument()
})

Expand All @@ -422,7 +422,7 @@ describe('FilesChangedTable', () => {
]),
})

const pullFileDiff = await screen.findByText('FileDiff')
const pullFileDiff = await screen.findByText('PullFileDiff')
expect(pullFileDiff).toBeInTheDocument()
})
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import Icon from 'ui/Icon'
import Spinner from 'ui/Spinner'
import TotalsNumber from 'ui/TotalsNumber'

const PullFileDiff = lazy(() => import('../FileDiff'))
const PullFileDiff = lazy(() => import('../PullFileDiff'))

const columnHelper = createColumnHelper<ImpactedFile>()

Expand Down
Loading

0 comments on commit 3303c04

Please sign in to comment.