vest 5.2.8 → 5.2.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -689,7 +689,9 @@ function isSameProfileTest(testObject1, testObject2) {
689
689
  const { groupName: gn2, fieldName: fn2 } = VestTest.getData(testObject2);
690
690
  return (matchingFieldName(VestTest.getData(testObject1), fn2) &&
691
691
  gn1 === gn2 &&
692
- testObject1.key === testObject2.key);
692
+ // Specifically using == here. The reason is that when serializing
693
+ // suite result, empty key gets removed, but it can also be null.
694
+ testObject1.key == testObject2.key);
693
695
  }
694
696
 
695
697
  function cancelOverriddenPendingTest(prevRunTestObject, currentRunTestObject) {