Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
kyhyco committed Aug 7, 2024
1 parent 95cef50 commit 664c081
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/wallet/components/ConnectWallet.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ describe('ConnectWallet', () => {
expect(setIsOpenMock).toHaveBeenCalledWith(true);
});

it('applies bg-secondary-active class when isOpen is true', () => {
it('applies bg-ock-secondary-active class when isOpen is true', () => {
(useWalletContext as vi.Mock).mockReturnValue({
isOpen: true,
setIsOpen: vi.fn(),
Expand All @@ -147,6 +147,6 @@ describe('ConnectWallet', () => {
);

const button = screen.getByTestId('ockConnectWallet_Connected');
expect(button).toHaveClass('bg-secondary-active');
expect(button).toHaveClass('bg-ock-secondary-active');
});
});

0 comments on commit 664c081

Please sign in to comment.