Skip to content

Commit

Permalink
(govern, launch) fix: failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Atatakai authored and Atatakai committed Aug 23, 2024
1 parent f6a7f35 commit 74cc103
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
10 changes: 6 additions & 4 deletions apps/govern/jest.setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,14 @@ Object.defineProperty(window, 'matchMedia', {
})),
});


const { gnosis, mainnet, polygon } = require('viem/chains');
const { mainnet, optimism, gnosis, polygon, base, arbitrum, celo } = require('viem/chains');

jest.mock('wagmi/chains', () => ({
gnosis,
mainnet,
optimism,
gnosis,
polygon,
base,
arbitrum,
celo,
}));

8 changes: 6 additions & 2 deletions apps/launch/jest.setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,16 @@ Object.defineProperty(window, 'matchMedia', {
})),
});

const { gnosis, mainnet, polygon } = require('viem/chains');
const { mainnet, optimism, gnosis, polygon, base, arbitrum, celo } = require('viem/chains');

jest.mock('wagmi/chains', () => ({
gnosis,
mainnet,
optimism,
gnosis,
polygon,
base,
arbitrum,
celo,
}));

jest.mock('common-util/config/wagmi', () => ({
Expand Down

0 comments on commit 74cc103

Please sign in to comment.