Skip to content

Commit

Permalink
chore: tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
magiziz committed Jan 22, 2024
1 parent 3fae974 commit f7be42f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { screen, waitFor } from '@testing-library/react';
import React from 'react';
import { describe, expect, it } from 'vitest';
import { mainnet } from 'wagmi/chains';
import type { Chain } from 'wagmi/chains';
import { renderWithProviders } from '../../../test';
import { Locale } from '../../locales';
import { ConnectButton } from './ConnectButton';
Expand All @@ -12,7 +11,7 @@ describe('<ConnectButton />', () => {
const options = {
mock: true,
props: {
chains: [mainnet] as readonly [Chain, ...Chain[]],
chains: [mainnet],
...(locale ? { locale } : {}),
},
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { screen, waitFor } from '@testing-library/react';
import React from 'react';
import { describe, expect, it } from 'vitest';
import { mainnet } from 'wagmi/chains';
import type { Chain } from 'wagmi/chains';
import { renderWithProviders } from '../../../test';
import { Locale } from '../../locales';
import { ConnectModal } from './ConnectModal';
Expand All @@ -12,7 +11,7 @@ describe('<ConnectModal />', () => {
const options = {
mock: true,
props: {
chains: [mainnet] as readonly [Chain, ...Chain[]],
chains: [mainnet],
...(locale ? { locale } : {}),
},
};
Expand Down

0 comments on commit f7be42f

Please sign in to comment.