Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
legobeat committed Mar 8, 2024
1 parent afbc892 commit cdaee62
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,9 @@ describe('NetworkListMenu', () => {
expect(queryByText('Chain 5')).not.toBeInTheDocument();
});

it('disables the "Add Network" button when MetaMask is locked', () => {
it('enables the "Add Network" button when MetaMask is locked', () => {
const { queryByText } = render(false, '0x5', 'chain5', false);
expect(queryByText('Add network')).toBeDisabled();
expect(queryByText('Add network')).toBeEnabled();
});

it('enables the "Add Network" button when MetaMask is true', () => {
Expand Down

0 comments on commit cdaee62

Please sign in to comment.