import { CommonWrapper } from 'enzyme' ; /**
 * Quick and easy helper for re-rendering a React component in Enzyme
 * after (e.g.) updating Kea values
 */ export const rerender = ( wrapper ) => { wrapper . setProps ( { } ) ; wrapper . update ( ) ; } ;