-
I am using reaflow 5.2.0 Component
When I do
As you see, nodes and edges are not rendered and as a result all my assertions are failing. expect(screen.getByTestId('canvas')).toBeInTheDocument() ==> fails I do have below lines in my test file.
Can someone please help? |
Beta Was this translation helpful? Give feedback.
Answered by
vasanthid
Jun 16, 2023
Replies: 1 comment 2 replies
-
I had to wrap my assertions in async/ await waitFor(() => {}) to get the nodes and edges rendered. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
vasanthid
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I had to wrap my assertions in async/ await waitFor(() => {}) to get the nodes and edges rendered.