Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update specs
  • Loading branch information
emostov committed Jan 15, 2021
commit 298fae0f0c9d0e518f4fb2b2ca11ecb8442cbc06
4 changes: 2 additions & 2 deletions src/services/blocks/BlocksService.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ describe('BlocksService', () => {
(undefined as unknown) as GenericExtrinsic
);

mockApi.derive.chain.getBlock = (() =>
mockApi.rpc.chain.getBlock = (() =>
Promise.resolve().then(() => {
return {
block: mockBlock789629BadExt,
Expand All @@ -68,7 +68,7 @@ describe('BlocksService', () => {
)
);

mockApi.derive.chain.getBlock = (getBlock as unknown) as GetBlock;
mockApi.rpc.chain.getBlock = (getBlock as unknown) as GetBlock;
});
});

Expand Down