We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I updated react and test libraries today . App works fine, lazy loading etc.. but my tests are failing..
it("Should render", async () => { const wrapper = shallow(<MyParentComponent {...props} />); expect(wrapper.find("MyChildrenComponent").props()).toEqual({HERE PROPS})
/// MyParent component render
render() { return ( <div> <React.Suspense fallback={<Spinner/>}> <MyChildrenComponent/>
But i have error
Error: Method “props” is meant to be run on 1 node. 0 found instead.
The text was updated successfully, but these errors were encountered:
enzyme does not currently support Suspense; closing in favor of #1917.
Suspense
Sorry, something went wrong.
There are any workaround to fix this? Thanks in advance :)
No, the workaround is to not use Suspense yet.
No branches or pull requests
API
Version
I updated react and test libraries today . App works fine, lazy loading etc.. but my tests are failing..
/// MyParent component render
But i have error
The text was updated successfully, but these errors were encountered: