Difference between revisions of "Enzyme"

From Wasya Wiki
Jump to: navigation, search
(Created page with " = Troubleshoot = == render the dom == // logg(w.debug(), 'debug') // wow, lifesaver const w = mount(<AuthContextProvider {...{ currentUser: cu, setCurrentUser: () =>...")
 
(No difference)

Latest revision as of 15:56, 4 September 2022

Troubleshoot

render the dom

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