import { shallow } from 'enzyme' ; import React from 'react' ; import { TransformList } from './transform_list' ; jest . mock ( '../../../../../shared_imports' ) ; jest . mock ( '../../../../../app/app_dependencies' ) ; describe ( 'Transform: Transform List <TransformList />' , ( ) => { test ( 'Minimal initialization' , ( ) => { const wrapper = shallow ( < TransformList onCreateTransform = { jest . fn ( ) } transformNodes = { 1 } transforms = { [ ] } transformsLoading = { false } / > ) ; expect ( wrapper ) . toMatchSnapshot ( ) ; } ) ; } ) ;