Skip to content

Commit

Permalink
chore: fix /bridge utils test
Browse files Browse the repository at this point in the history
  • Loading branch information
work-kevin-flynn committed Nov 26, 2024
1 parent 89a8fb6 commit bec4c04
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ afterEach(() => {
vi.mock('@portkey/contracts', () => ({
getContractBasic: vi.fn(),
}));
// Mock components and dependencies
vi.mock('../ui', () => ({
default: () => <div>SignInModal Component</div>,
}));

describe('getCaContractBase()', () => {
it('should throw error about chain is not running', async () => {
Expand Down

0 comments on commit bec4c04

Please sign in to comment.