Commit 4faaa60a authored by Jordan Frankfurt's avatar Jordan Frankfurt Committed by GitHub

chore: update web3-react (#7158)

* chore: update web3-react

yarn deduplicate

* catch .warn warnings
parent 3a94a992
......@@ -4,6 +4,8 @@ import Bag from './Bag'
describe('Bag.tsx', () => {
it('matches base snapshot', () => {
// todo: remove once zustand usage has been update such that `shallow` is no longer used
jest.spyOn(console, 'warn').mockImplementation(jest.fn)
const { asFragment } = render(<Bag />)
expect(asFragment()).toMatchSnapshot()
})
......
......@@ -6,6 +6,8 @@ import { CollectionAsset } from './CollectionAsset'
describe('NftCard', () => {
it('renders correctly', () => {
// todo: remove once zustand usage has been update such that `shallow` is no longer used
jest.spyOn(console, 'warn').mockImplementation(jest.fn)
const { asFragment } = render(
<CollectionAsset
asset={TEST_NFT_ASSET}
......
......@@ -5,6 +5,8 @@ import { ViewMyNftsAsset } from './ViewMyNftsAsset'
describe('NftCard', () => {
it('renders correctly', () => {
// todo: remove once zustand usage has been update such that `shallow` is no longer used
jest.spyOn(console, 'warn').mockImplementation(jest.fn)
const { asFragment } = render(
<ViewMyNftsAsset
asset={TEST_NFT_WALLET_ASSET}
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment