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
This test fails with a message like this as it does not invoke the callback with a ChangeSet, but rather a plain object. I guess I need to change the testsuite above to make spyStatusParams a ChangeSet too, but it's unclear to me how to invoke that method/object. Any ideas are welcome.
AssertionError: expected changeStatus to have been called with arguments
{
ids: { 5586d573830590d60c26d689: "pending", 5586d573830590d60c26d68a: "pending" },
values: { pending: ["5586d573830590d60c26d689", 5586d573830590d60c26d68a] }
}
changeStatus(
[ChangeSet] {
ids: { 5586d573830590d60c26d689: "pending", 5586d573830590d60c26d68a: "pending" },
values: { pending: ["5586d573830590d60c26d689", "5586d573830590d60c26d68a"] }
}) => [object Promise]
The text was updated successfully, but these errors were encountered:
I have just submitted a merge request with a new feature for which I have written a couple of tests which make sure that the changeset passed is okay. bcfa307
This is copied from #5
One of the things that I'm currently looking at is how to properly test the ChangeSet that is passed to the callbacks.
This test fails with a message like this as it does not invoke the callback with a ChangeSet, but rather a plain object. I guess I need to change the testsuite above to make spyStatusParams a ChangeSet too, but it's unclear to me how to invoke that method/object. Any ideas are welcome.
The text was updated successfully, but these errors were encountered: