Skip to content

Commit d56a0bc

Browse files
committed
add missing mock to snapshot cache test
1 parent ea154a6 commit d56a0bc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/unit/OnyxSnapshotCacheTest.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ describe('OnyxSnapshotCache', () => {
158158

159159
it('should invalidate non-collection keys without affecting others', () => {
160160
mockedOnyxUtils.isCollectionKey.mockReturnValue(false);
161+
mockedOnyxUtils.getCollectionKey.mockReturnValue(null);
161162

162163
cache.invalidateForKey('nonCollectionKey');
163164

0 commit comments

Comments
 (0)