Skip to content

Commit 9b4f4ab

Browse files
committed
chore: prettify
1 parent c0db9b7 commit 9b4f4ab

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/modules/components/smartContract/smartContractFunctionDataListItem/smartContractFunctionDataListItemStructure/smartContractFunctionDataListItemStructure.test.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@ describe('<SmartContractFunctionDataListItem.Structure /> component', () => {
5353
expect(link.href).toEqual(`https://polygonscan.com/address/${contractAddress}`);
5454
});
5555

56-
it('defaults chain-id to ethereum mainnet when not provided', () => {
57-
const contractAddress = '0x87D18Ee84e8f4f5709CBf3500179a4C601DA12cE';
58-
render(createTestComponent({ contractAddress }));
59-
const link = screen.getByRole<HTMLAnchorElement>('link', { name: '0x87D1…12cE' });
60-
expect(link.href).toEqual(`https://etherscan.io/address/${contractAddress}`);
61-
});
56+
it('defaults chain-id to ethereum mainnet when not provided', () => {
57+
const contractAddress = '0x87D18Ee84e8f4f5709CBf3500179a4C601DA12cE';
58+
render(createTestComponent({ contractAddress }));
59+
const link = screen.getByRole<HTMLAnchorElement>('link', { name: '0x87D1…12cE' });
60+
expect(link.href).toEqual(`https://etherscan.io/address/${contractAddress}`);
61+
});
6262

6363
it('renders a dropdown to remove the function when showRemoveButton is true', async () => {
6464
render(createTestComponent({ showRemoveButton: true }));

0 commit comments

Comments
 (0)