@@ -160,14 +160,14 @@ describe('Transaction metrics', () => {
160160 } ) ;
161161
162162 describe ( 'handleTransactionAdded' , ( ) => {
163- it ( 'should return if transaction meta is not defined' , async ( ) => {
163+ it ( 'returns if transaction meta is not defined' , async ( ) => {
164164 await handleTransactionAdded ( mockTransactionMetricsRequest , { } as any ) ;
165165 expect (
166166 mockTransactionMetricsRequest . createEventFragment ,
167167 ) . not . toBeCalled ( ) ;
168168 } ) ;
169169
170- it ( 'should create event fragment' , async ( ) => {
170+ it ( 'creates event fragment' , async ( ) => {
171171 await handleTransactionAdded ( mockTransactionMetricsRequest , {
172172 transactionMeta : mockTransactionMeta as any ,
173173 actionId : mockActionId ,
@@ -189,7 +189,7 @@ describe('Transaction metrics', () => {
189189 } ) ;
190190 } ) ;
191191
192- it ( 'should create event fragment when simulation failed' , async ( ) => {
192+ it ( 'creates event fragment when simulation failed' , async ( ) => {
193193 mockTransactionMeta . simulationFails = true ;
194194
195195 await handleTransactionAdded ( mockTransactionMetricsRequest , {
@@ -217,7 +217,7 @@ describe('Transaction metrics', () => {
217217 } ) ;
218218 } ) ;
219219
220- it ( 'should create event fragment with blockaid' , async ( ) => {
220+ it ( 'creates event fragment with blockaid' , async ( ) => {
221221 await handleTransactionAdded ( mockTransactionMetricsRequest , {
222222 transactionMeta : mockTransactionMetaWithBlockaid as any ,
223223 actionId : mockActionId ,
@@ -248,7 +248,7 @@ describe('Transaction metrics', () => {
248248 } ) ;
249249
250250 describe ( 'handleTransactionApproved' , ( ) => {
251- it ( 'should return if transaction meta is not defined' , async ( ) => {
251+ it ( 'returns if transaction meta is not defined' , async ( ) => {
252252 await handleTransactionApproved ( mockTransactionMetricsRequest , { } as any ) ;
253253 expect (
254254 mockTransactionMetricsRequest . createEventFragment ,
@@ -261,7 +261,7 @@ describe('Transaction metrics', () => {
261261 ) . not . toBeCalled ( ) ;
262262 } ) ;
263263
264- it ( 'should create , update, finalize event fragment' , async ( ) => {
264+ it ( 'creates , update, finalize event fragment' , async ( ) => {
265265 await handleTransactionApproved ( mockTransactionMetricsRequest , {
266266 transactionMeta : mockTransactionMeta as any ,
267267 actionId : mockActionId ,
@@ -302,7 +302,7 @@ describe('Transaction metrics', () => {
302302 ) . toBeCalledWith ( expectedUniqueId ) ;
303303 } ) ;
304304
305- it ( 'should create , update, finalize event fragment with blockaid' , async ( ) => {
305+ it ( 'creates , update, finalize event fragment with blockaid' , async ( ) => {
306306 await handleTransactionApproved ( mockTransactionMetricsRequest , {
307307 transactionMeta : mockTransactionMetaWithBlockaid as any ,
308308 actionId : mockActionId ,
@@ -359,7 +359,7 @@ describe('Transaction metrics', () => {
359359 } ) ;
360360
361361 describe ( 'handleTransactionFailed' , ( ) => {
362- it ( 'should return if transaction meta is not defined' , async ( ) => {
362+ it ( 'returns if transaction meta is not defined' , async ( ) => {
363363 await handleTransactionFailed ( mockTransactionMetricsRequest , { } as any ) ;
364364 expect (
365365 mockTransactionMetricsRequest . createEventFragment ,
@@ -372,7 +372,7 @@ describe('Transaction metrics', () => {
372372 ) . not . toBeCalled ( ) ;
373373 } ) ;
374374
375- it ( 'should create , update, finalize event fragment' , async ( ) => {
375+ it ( 'creates , update, finalize event fragment' , async ( ) => {
376376 const mockErrorMessage = 'Unexpected error' ;
377377 mockTransactionMeta . txReceipt = {
378378 gasUsed : '0x123' ,
@@ -426,7 +426,7 @@ describe('Transaction metrics', () => {
426426 ) . toBeCalledWith ( expectedUniqueId ) ;
427427 } ) ;
428428
429- it ( 'should create , update, finalize event fragment with blockaid' , async ( ) => {
429+ it ( 'creates , update, finalize event fragment with blockaid' , async ( ) => {
430430 const mockErrorMessage = 'Unexpected error' ;
431431 mockTransactionMetaWithBlockaid . txReceipt = {
432432 gasUsed : '0x123' ,
@@ -494,7 +494,7 @@ describe('Transaction metrics', () => {
494494 ) . toBeCalledWith ( expectedUniqueId ) ;
495495 } ) ;
496496
497- it ( 'should append error to event properties' , async ( ) => {
497+ it ( 'appends error to event properties' , async ( ) => {
498498 const mockErrorMessage = 'Unexpected error' ;
499499
500500 await handleTransactionFailed ( mockTransactionMetricsRequest , {
@@ -545,7 +545,7 @@ describe('Transaction metrics', () => {
545545 } ) ;
546546
547547 describe ( 'handleTransactionConfirmed' , ( ) => {
548- it ( 'should return if transaction meta is not defined' , async ( ) => {
548+ it ( 'returns if transaction meta is not defined' , async ( ) => {
549549 await handleTransactionConfirmed (
550550 mockTransactionMetricsRequest ,
551551 { } as any ,
@@ -561,7 +561,7 @@ describe('Transaction metrics', () => {
561561 ) . not . toBeCalled ( ) ;
562562 } ) ;
563563
564- it ( 'should create , update, finalize event fragment' , async ( ) => {
564+ it ( 'creates , update, finalize event fragment' , async ( ) => {
565565 mockTransactionMeta . txReceipt = {
566566 gasUsed : '0x123' ,
567567 status : '0x0' ,
@@ -617,7 +617,7 @@ describe('Transaction metrics', () => {
617617 ) . toBeCalledWith ( expectedUniqueId ) ;
618618 } ) ;
619619
620- it ( 'should create , update, finalize event fragment with blockaid' , async ( ) => {
620+ it ( 'creates , update, finalize event fragment with blockaid' , async ( ) => {
621621 mockTransactionMetaWithBlockaid . txReceipt = {
622622 gasUsed : '0x123' ,
623623 status : '0x0' ,
@@ -689,7 +689,7 @@ describe('Transaction metrics', () => {
689689 } ) ;
690690
691691 describe ( 'handleTransactionDropped' , ( ) => {
692- it ( 'should return if transaction meta is not defined' , async ( ) => {
692+ it ( 'returns if transaction meta is not defined' , async ( ) => {
693693 await handleTransactionDropped ( mockTransactionMetricsRequest , { } as any ) ;
694694 expect (
695695 mockTransactionMetricsRequest . createEventFragment ,
@@ -702,7 +702,7 @@ describe('Transaction metrics', () => {
702702 ) . not . toBeCalled ( ) ;
703703 } ) ;
704704
705- it ( 'should create , update, finalize event fragment' , async ( ) => {
705+ it ( 'creates , update, finalize event fragment' , async ( ) => {
706706 await handleTransactionDropped ( mockTransactionMetricsRequest , {
707707 transactionMeta : mockTransactionMeta ,
708708 actionId : mockActionId ,
@@ -750,7 +750,7 @@ describe('Transaction metrics', () => {
750750 ) . toBeCalledWith ( expectedUniqueId ) ;
751751 } ) ;
752752
753- it ( 'should create , update, finalize event fragment with blockaid' , async ( ) => {
753+ it ( 'creates , update, finalize event fragment with blockaid' , async ( ) => {
754754 await handleTransactionDropped ( mockTransactionMetricsRequest , {
755755 transactionMeta : mockTransactionMetaWithBlockaid ,
756756 actionId : mockActionId ,
@@ -814,7 +814,7 @@ describe('Transaction metrics', () => {
814814 } ) ;
815815
816816 describe ( 'handleTransactionRejected' , ( ) => {
817- it ( 'should return if transaction meta is not defined' , async ( ) => {
817+ it ( 'returns if transaction meta is not defined' , async ( ) => {
818818 await handleTransactionRejected ( mockTransactionMetricsRequest , { } as any ) ;
819819 expect (
820820 mockTransactionMetricsRequest . createEventFragment ,
@@ -827,7 +827,7 @@ describe('Transaction metrics', () => {
827827 ) . not . toBeCalled ( ) ;
828828 } ) ;
829829
830- it ( 'should create , update, finalize event fragment' , async ( ) => {
830+ it ( 'creates , update, finalize event fragment' , async ( ) => {
831831 await handleTransactionRejected ( mockTransactionMetricsRequest , {
832832 transactionMeta : mockTransactionMeta ,
833833 actionId : mockActionId ,
@@ -870,7 +870,7 @@ describe('Transaction metrics', () => {
870870 } ) ;
871871 } ) ;
872872
873- it ( 'should create , update, finalize event fragment with blockaid' , async ( ) => {
873+ it ( 'creates , update, finalize event fragment with blockaid' , async ( ) => {
874874 await handleTransactionRejected ( mockTransactionMetricsRequest , {
875875 transactionMeta : mockTransactionMetaWithBlockaid ,
876876 actionId : mockActionId ,
@@ -929,7 +929,7 @@ describe('Transaction metrics', () => {
929929 } ) ;
930930
931931 describe ( 'handleTransactionSubmitted' , ( ) => {
932- it ( 'should return if transaction meta is not defined' , async ( ) => {
932+ it ( 'returns if transaction meta is not defined' , async ( ) => {
933933 await handleTransactionSubmitted (
934934 mockTransactionMetricsRequest ,
935935 { } as any ,
@@ -939,7 +939,7 @@ describe('Transaction metrics', () => {
939939 ) . not . toBeCalled ( ) ;
940940 } ) ;
941941
942- it ( 'should only create event fragment' , async ( ) => {
942+ it ( 'onlys create event fragment' , async ( ) => {
943943 await handleTransactionSubmitted ( mockTransactionMetricsRequest , {
944944 transactionMeta : mockTransactionMeta as any ,
945945 actionId : mockActionId ,
0 commit comments