Skip to content

Merge publish/v1.3.5 to master #295

Merge publish/v1.3.5 to master

Merge publish/v1.3.5 to master #295

GitHub Actions / Test Report succeeded Jun 18, 2024 in 1s

21 passed, 0 failed and 0 skipped

Tests passed successfully

βœ…Β coverage-tests-report.json

21 tests were completed in 14ms with 21 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
test/unit/aave.unit.test.ts 1βœ… 0ms
test/unit/accounts.unit.test.ts 1βœ… 0ms
test/unit/blast.unit.test.ts 1βœ… 0ms
test/unit/erc20.unit.test.ts 1βœ… 0ms
test/unit/multicall.unit.test.ts 1βœ… 0ms
test/unit/uniqueIds.unit.test.ts 1βœ… 1ms
test/unit/utils.unit.test.ts 15βœ… 2ms

βœ…Β test/unit/aave.unit.test.ts

aave.ts getAllAaveV3Addresses
  βœ… should return all addresses

βœ…Β test/unit/accounts.unit.test.ts

accounts.ts getAllAccounts
  βœ… should return all addresses

βœ…Β test/unit/blast.unit.test.ts

blast.ts getAllBlastAddresses
  βœ… should return all addresses

βœ…Β test/unit/erc20.unit.test.ts

erc20.ts getAllErc20s
  βœ… should return all addresses

βœ…Β test/unit/multicall.unit.test.ts

multicall.ts getAllMulticallAddresses
  βœ… should return all addresses

βœ…Β test/unit/uniqueIds.unit.test.ts

Unique IDs
  βœ… Unique IDs should be unique per network across address types

βœ…Β test/unit/utils.unit.test.ts

utils.ts chainIdToNetworkName
  βœ… should return network name for known chain ID
  βœ… should return undefined for unknown chain ID
utils.ts toErc20InstancePerNamedNetwork
  βœ… should man multiple instances of same ERC20 for a network
  βœ… should map default singleton to both instance ID and symbol as ID
  βœ… should map multiple ERC20s for a network
  βœ… should map multiple networks
  βœ… should map non-default singleton to singleton
  βœ… should map undefined-default as non-default
  βœ… should return empty object for empty input
utils.ts toNamedAddressesPerNamedNetwork
  βœ… should map all networks for a role
  βœ… should map all role groups
  βœ… should map all roles in a role group
  βœ… should return empty object for empty input
  βœ… should return empty object for empty role group
  βœ… should use role ID as address name