Skip to content
Unverified Commit 2bf71ada authored by Tarik Gul's avatar Tarik Gul Committed by GitHub
Browse files

fix(tests): restructure mockApi tests to integrate with historical api (#702)

* fix: refactor api.derive.chain in /blocks

* add historicApi

* remove bench test

* tests: adjust tests to accept historicalApi

* refactor blocks to use historicApi

* fix: fetchevents bug

* fix: update historic kusama blocks e2e tests

* put back --silent

* fix: lint

* fix: tests for pallets staking progress

* cleanup

* fix: restructure block tests and mockApi

* fix: change mockApi to defaultMockApi for BlocksTraceService

* fix: add AccountsAssetsService.spec.ts refactoring to mockApi

* lint and cleanup

* refactor AccountsBalanceInfoService.spec.ts

* refactor NodeNetworkService.spec.ts

* refactor NodeTransactionPoolService.spec.ts

* refactor NodeVersionService.spec.ts

* restructure AccountsStakingInfoService.spec.ts

* refactor AccountsVestingInfoService.spec.ts

* refactor PalletsAssetsService.spec.ts

* refactor PalletsStakingProgressService.spec.ts

* refactor PalletsStorageService.spec.ts

* cleanup

* refactor ParasService.spec.ts

* refactor RuntimeCodeService.spec.ts

* refactor RuntimeMetadataService.spec.ts

* refactor RuntimeSpecService.spec.ts

* refactor TransactionFeeEstimateService.spec.ts

* refactor TransactionMaterialService.spec.ts

* refactor TransactionSubmitService.spec.ts

* refactor mockApi to be defaultMockApi

* lint

* fix merge conflict with nextFeeMultiplier

* historical -> historic
parent b9404ff6
Pipeline #161724 failed with stages
in 2 minutes and 20 seconds