cojson 0.8.17 → 0.8.19-group-inheritance.0

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.
@@ -1633,10 +1633,6 @@ describe("SyncManager - knownStates vs optimisticKnownStates", () => {
1633
1633
  );
1634
1634
  });
1635
1635
 
1636
- map.set("key2", "value2", "trusting");
1637
-
1638
- await client.syncManager.actuallySyncCoValue(map.core);
1639
-
1640
1636
  // Block the content messages
1641
1637
  // The main difference between optimisticKnownStates and knownStates is that
1642
1638
  // optimisticKnownStates is updated when the content messages are sent,
@@ -1656,6 +1652,10 @@ describe("SyncManager - knownStates vs optimisticKnownStates", () => {
1656
1652
  return push.call(jazzCloudConnectionAsPeer.outgoing, msg);
1657
1653
  });
1658
1654
 
1655
+ map.set("key2", "value2", "trusting");
1656
+
1657
+ await client.syncManager.actuallySyncCoValue(map.core);
1658
+
1659
1659
  const peerState = client.syncManager.peers["jazzCloudConnection"]!;
1660
1660
 
1661
1661
  expect(peerState.optimisticKnownStates.get(map.core.id)).not.toEqual(