Skip to content

Commit

Permalink
fixup(tests): appease typecheck
Browse files Browse the repository at this point in the history
  • Loading branch information
rileyhgrant committed Oct 29, 2024
1 parent 92d9185 commit e9fdc8d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions browser/src/VariantList/mergeExomeAndGenomeData.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,7 @@ describe('mergeExomeAndGenomeData', () => {

expect(result).toStrictEqual(expected)
})

it('returns just genome populations if only genome data is present, but no dataset', () => {
const genomeGeneticAncestryGroupObjects = createAncestryGroupObjects(
[
Expand Down Expand Up @@ -596,7 +597,7 @@ describe('mergeExomeAndGenomeData', () => {
an: 4,
af: 5,
filters: ['RF'],
populations: exomeGeneticAncestryGroupObjects,
populations: exomeGeneticAncestryGroupObjects as Population[],
},
joint: {
ac: 10,
Expand Down Expand Up @@ -753,7 +754,7 @@ describe('mergeExomeAndGenomeData', () => {
an: 4,
af: 5,
filters: ['RF'],
populations: genomeGeneticAncestryGroupObjects,
populations: genomeGeneticAncestryGroupObjects as Population[],
},
joint: {
ac: 10,
Expand Down

0 comments on commit e9fdc8d

Please sign in to comment.