diff --git a/browser/src/GenePage/TissueExpressionTrack.spec.tsx b/browser/src/GenePage/TissueExpressionTrack.spec.tsx index cd32fde3d..a7b3bef13 100644 --- a/browser/src/GenePage/TissueExpressionTrack.spec.tsx +++ b/browser/src/GenePage/TissueExpressionTrack.spec.tsx @@ -10,22 +10,21 @@ import { RegionViewerContext } from '@gnomad/region-viewer' import geneFactory from '../__factories__/Gene' describe('TissueExpressionTrack', () => { - const childProps = { - centerPanelWidth: 500, - isPositionDefined: true, - leftPanelWidth: 100, - // same regions as pext factory regions - regions: [ - { - start: 0, - stop: 100, - }, - ], - rightPanelWidth: 100, - scalePosition: (i: number) => i, - } + test('snapshot has no unexpected changes', () => { + const regionViewerProps = { + centerPanelWidth: 500, + isPositionDefined: true, + leftPanelWidth: 100, + regions: [ + { + start: 0, + stop: 100, + }, + ], + rightPanelWidth: 100, + scalePosition: (i: number) => i, + } - test('has no unexpected changes', () => { const testTranscriptId = 'transcript-1337' const gene = geneFactory.build({ canonical_transcript_id: testTranscriptId }) @@ -48,7 +47,7 @@ describe('TissueExpressionTrack', () => { ] const tree = renderer.create( - +