vest 5.2.7 → 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.
@@ -688,7 +688,9 @@ function isSameProfileTest(testObject1, testObject2) {
688
688
  const { groupName: gn2, fieldName: fn2 } = VestTest.getData(testObject2);
689
689
  return (matchingFieldName(VestTest.getData(testObject1), fn2) &&
690
690
  gn1 === gn2 &&
691
- testObject1.key === testObject2.key);
691
+ // Specifically using == here. The reason is that when serializing
692
+ // suite result, empty key gets removed, but it can also be null.
693
+ testObject1.key == testObject2.key);
692
694
  }
693
695
 
694
696
  function cancelOverriddenPendingTest(prevRunTestObject, currentRunTestObject) {