this.Invoke(new MethodInvoker(delegate
{
//your code here;
}));
Примерно так:
const model = {
tiers:['a','b','c']
};
it('showRowSubView',()=>{
const wrapper = shallow(<ShowRowSubView rowModel={model }/>);
expect(wrapper).toMatchSnapshot();
});