import { shallow } from 'enzyme' ; import React from 'react' ; import transformListRow from '../../../../common/__mocks__/transform_list_row.json' ; import { ExpandedRowJsonPane } from './expanded_row_json_pane' ; describe ( 'Transform: Transform List Expanded Row <ExpandedRowJsonPane />' , ( ) => { test ( 'Minimal initialization' , ( ) => { const wrapper = shallow ( < ExpandedRowJsonPane json = { transformListRow . config } / > ) ; expect ( wrapper ) . toMatchSnapshot ( ) ; } ) ; } ) ;