Skip to content

Commit

Permalink
fix: add return statement
Browse files Browse the repository at this point in the history
  • Loading branch information
dhruvkelawala committed Jun 20, 2022
1 parent efef507 commit 468a0bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion __tests__/provider.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ describe('defaultProvider', () => {
const { block_number, timestamp } = block;

expect(typeof block_number).toEqual('number');
expect(typeof timestamp).toEqual('number');

return expect(typeof timestamp).toEqual('number');
});
test('getBlock() -> { blockNumber }', async () => {
const block = await provider.getBlock();
Expand Down

0 comments on commit 468a0bf

Please sign in to comment.