You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add cache-first regression test for Storage.multiSet rejection
Adds a parallel test inside the 'mergeCollection cache-first ordering'
describe asserting that cache + subscribers reflect the merged data
even when Storage.multiSet (the new-keys path) rejects. The existing
test only exercises the Storage.multiMerge (existing-keys) path.
Also adds an afterEach that restores StorageMock.multiMerge and
StorageMock.multiSet to their originals after each test in this
block, so the rejecting mocks no longer leak into later describe
blocks (eviction, afterInit) whose setup relies on these storage
methods working normally.
Addresses review feedback on Expensify#787.
0 commit comments