import mockAnnotationsOverlap from './__mocks__/mock_annotations_overlap.json' ; import { getAnnotationLevels } from './timeseries_chart_annotations' ; describe ( 'Timeseries Chart Annotations: getAnnotationLevels()' , ( ) => { test ( 'getAnnotationLevels()' , ( ) => { const levels = getAnnotationLevels ( mockAnnotationsOverlap ) ; expect ( levels ) . toEqual ( { A : 0 , B : 1 , C : 2 , D : 2 } ) ; } ) ; } ) ;