Skip to content

Commit 5526316

Browse files
refactor: requested changes
1 parent c99d914 commit 5526316

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

app/reducers/collectibles/collectibles.test.ts

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ describe('selectAllCollectiblesByChain', () => {
4343
},
4444
};
4545

46-
it('should return collectibles for valid address and chain', () => {
46+
it('returns collectibles for valid address and chain', () => {
4747
const { mockSelectSelectedInternalAccountAddress, mockSelectAllNfts } =
4848
arrange();
4949
mockSelectSelectedInternalAccountAddress.mockReturnValue(mockAddress);
@@ -80,17 +80,15 @@ describe('selectAllCollectiblesByChain', () => {
8080
allNfts: mockNftContracts,
8181
chainId: '0xnonexistent' as Hex,
8282
},
83-
])(
84-
'should return empty array - $case',
85-
({ selectedAddress, allNfts, chainId }) => {
86-
const { mockSelectSelectedInternalAccountAddress, mockSelectAllNfts } =
87-
arrange();
83+
])('returns empty array - $case', ({ selectedAddress, allNfts, chainId }) => {
84+
const { mockSelectSelectedInternalAccountAddress, mockSelectAllNfts } =
85+
arrange();
8886

89-
mockSelectSelectedInternalAccountAddress.mockReturnValue(selectedAddress);
90-
mockSelectAllNfts.mockReturnValue(allNfts);
87+
mockSelectSelectedInternalAccountAddress.mockReturnValue(selectedAddress);
88+
mockSelectAllNfts.mockReturnValue(allNfts);
9189

92-
const result = selectAllCollectiblesByChain(mockState, chainId);
93-
expect(result).toEqual([]);
94-
},
95-
);
90+
const result = selectAllCollectiblesByChain(mockState, chainId);
91+
92+
expect(result).toEqual([]);
93+
});
9694
});

0 commit comments

Comments
 (0)