The way this part of the test is, does not make much sense because you are expecting the value (postId and text) to be equal than itself, which it always will.
In this PR, I'm getting the values from the component's create method in order to compare with the test data.
The way this part of the test is, does not make much sense because you are expecting the value (
postId
andtext
) to be equal than itself, which it always will.In this PR, I'm getting the values from the component's
create
method in order to compare with the test data.