File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ describe('NodeConnection', () => {
29
29
describe ( 'getBlock' , ( ) => {
30
30
it ( 'should return a Block object' , async ( ) => {
31
31
const block = await connection . getBlock ( 1 ) ;
32
- expect ( ( block as Block ) . block_hash ) . toEqual ( "ab17jdwevmgu20kcqazp2wjyy2u2k75rac2mtvuf6w6kjn8egv0uvrqe7mra6 " ) ;
32
+ expect ( ( block as Block ) . block_hash ) . toEqual ( "ab1eddc3np4h6duwf5a7ht6u0x5maa08780l885j6xq0s7l88df0qrq3d72me " ) ;
33
33
} , 60000 ) ;
34
34
35
35
it ( 'should throw an error if the request fails' , async ( ) => {
@@ -42,8 +42,8 @@ describe('NodeConnection', () => {
42
42
const blockRange = await connection . getBlockRange ( 1 , 3 ) ;
43
43
expect ( Array . isArray ( blockRange ) ) . toBe ( true ) ;
44
44
expect ( ( blockRange as Block [ ] ) . length ) . toBe ( 3 ) ;
45
- expect ( ( ( blockRange as Block [ ] ) [ 0 ] as Block ) . block_hash ) . toBe ( "ab17jdwevmgu20kcqazp2wjyy2u2k75rac2mtvuf6w6kjn8egv0uvrqe7mra6 " ) ;
46
- expect ( ( ( blockRange as Block [ ] ) [ 1 ] as Block ) . block_hash ) . toBe ( "ab1q60nvh5ha8ld43x0jph9futqwkdm4j3cvw5a2unj5d23ml090c9qkcvr3g " ) ;
45
+ expect ( ( ( blockRange as Block [ ] ) [ 0 ] as Block ) . block_hash ) . toBe ( "ab1eddc3np4h6duwf5a7ht6u0x5maa08780l885j6xq0s7l88df0qrq3d72me " ) ;
46
+ expect ( ( ( blockRange as Block [ ] ) [ 1 ] as Block ) . block_hash ) . toBe ( "ab1uqmm97qk5gzhgwh6308h48aszazhfnn0xdq84lrj7e7myyrf9yyqmqdf42 " ) ;
47
47
48
48
} , 60000 ) ;
49
49
You can’t perform that action at this time.
0 commit comments