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 4de9bf5 commit 3a3cfdd
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ afterEach(() => {
vi.mock('@portkey/contracts', () => ({
getContractBasic: vi.fn(),
}));
vi.mock('@portkey/did-ui-react', () => ({
PortkeyProvider: ({ children }: { children: React.ReactNode }) => <div>{children}</div>,
}));

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

0 comments on commit 3a3cfdd

Please sign in to comment.