Open DianaLaa opened 1 year ago
Describe the bug The shouldItemUpdate method seems to receive the same object twice.
shouldItemUpdate
To Reproduce Apply shouldItemUpdate on an object, that checks o1.field !== o2.field. Then, update the field.
o1.field !== o2.field
Expected: The method receives as o1 the old object and as o2 the new object Actual: The method receives the new object twice.
Screenshots
Environment (please complete the following information):
Describe the bug The
shouldItemUpdate
method seems to receive the same object twice.To Reproduce Apply
shouldItemUpdate
on an object, that checkso1.field !== o2.field
. Then, update the field.Expected: The method receives as o1 the old object and as o2 the new object Actual: The method receives the new object twice.
Screenshots
Environment (please complete the following information):