Skip to content

Commit

Permalink
fix(tests): fix getBlock blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
janek26 committed Apr 27, 2022
1 parent 5374fdf commit c0422b7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions __tests__/provider.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ describe('defaultProvider', () => {
expect(typeof GpsStatementVerifier).toBe('string');
expect(typeof Starknet).toBe('string');
});
test('getBlock(blockHash=0x3bca19c3d5983e21e9537669b15f951f0664f0747a083dc714e0b9648b8575d, blockNumber=undefined)', () => {
test('getBlock(blockHash=0x26e33ad2807590b93e98a04e703d7d64d4ead13591b50984ae558bdbe8fbcd2, blockNumber=undefined)', () => {
return expect(
defaultProvider.getBlock(
'0x3bca19c3d5983e21e9537669b15f951f0664f0747a083dc714e0b9648b8575d'
'0x26e33ad2807590b93e98a04e703d7d64d4ead13591b50984ae558bdbe8fbcd2'
)
).resolves.not.toThrow();
});
test('getBlock(blockHash=undefined, blockNumber=36657)', () => {
return expect(defaultProvider.getBlock(36657)).resolves.not.toThrow();
test('getBlock(blockHash=undefined, blockNumber=168890)', () => {
return expect(defaultProvider.getBlock(168890)).resolves.not.toThrow();
});
test('getBlock(blockHash=undefined, blockNumber=null)', () => {
return expect(defaultProvider.getBlock()).resolves.not.toThrow();
Expand Down

0 comments on commit c0422b7

Please sign in to comment.