jest . mock ( '../../sc-size-provider/renderChild' ) ; jest . mock ( '../../sc-webgl-context/webglContext' ) ; import 'webgl-mock-threejs' ; import { newChartSpecPage } from '../../../testing/chartDescriptions/newChartSpecPage' ; import { describeChart } from '../../../testing/chartDescriptions/describeChart' ; const lineChart = newChartSpecPage ( 'sc-line-chart' ) ; describe ( 'sc-line-chart' , ( ) => { describeChart ( lineChart ) ; } ) ;