if ((updates[key] === null) !== (original[key] === null))
it wasn't catching when the array existed and was different, so I added another condition (updates[key] !== original[key]). This updated the _fragmentData properly, but the cache was still being used so updates weren't making it through. I nabbed some code to clear the cache and the test started passing.
I was looking at getting reloading for fragment arrays working, and I think I stumbled across a bug.
This conditional:
it wasn't catching when the array existed and was different, so I added another condition
(updates[key] !== original[key])
. This updated the_fragmentData
properly, but the cache was still being used so updates weren't making it through. I nabbed some code to clear the cache and the test started passing.