You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It might be beneficial to return rendered from the render function. It's a very pleasent testing experience to $set props (or use getters and setters when compiled with accessors: true) on the component in order to test that it is working properly.
It might be beneficial to return
rendered
from the render function. It's a very pleasent testing experience to$set
props (or use getters and setters when compiled withaccessors: true
) on the component in order to test that it is working properly.What do you think?
export const render = (Component, options) => { // ... return { + component: rendered, ...getQueriesForElement(document.body), } }
The text was updated successfully, but these errors were encountered: