Enzyme

From Wasya Wiki
Jump to: navigation, search

Troubleshoot

render the dom

   // logg(w.debug(), 'debug') // wow, lifesaver
   const w = mount(<AuthContextProvider {...{ currentUser: cu, setCurrentUser: () => {}, useApi: useApi }}
   ><MyAccountWidget />
   </AuthContextProvider>)