Skip to content

Commit

Permalink
test(bridge-ui): improve test coverage (#13854)
Browse files Browse the repository at this point in the history
Co-authored-by: dave | d1onys1us <13951458+d1onys1us@users.noreply.github.com>
Co-authored-by: Daniel Wang <99078276+dantaik@users.noreply.github.com>
  • Loading branch information
3 people committed Jun 5, 2023
1 parent c17e31c commit 53bec14
Show file tree
Hide file tree
Showing 9 changed files with 495 additions and 152 deletions.
8 changes: 4 additions & 4 deletions packages/bridge-ui/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ export default {
// - relayer-api/RelayerAPIService (partial test coverage)
// - bridge/ERC20Bridge (partial test coverage)
// - bridge/ETHBridge (partial test coverage)
statements: 89,
branches: 86,
functions: 91,
lines: 89,
statements: 93,
branches: 92,
functions: 97,
lines: 93,
},
},
modulePathIgnorePatterns: ['<rootDir>/public/build/'],
Expand Down
2 changes: 1 addition & 1 deletion packages/bridge-ui/src/domain/provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ import type { providers } from 'ethers';

import type { ChainID } from './chain';

export type RecordProviders = Record<ChainID, providers.StaticJsonRpcProvider>;
export type ProvidersRecord = Record<ChainID, providers.StaticJsonRpcProvider>;
Loading

0 comments on commit 53bec14

Please sign in to comment.