File tree Expand file tree Collapse file tree 2 files changed +18
-17
lines changed
Expand file tree Collapse file tree 2 files changed +18
-17
lines changed Original file line number Diff line number Diff line change @@ -440,7 +440,8 @@ describe("Test middleware", () => {
440440 cacher
441441 } ) ;
442442
443- ( cacher . get = jest . fn ( ( ) => Promise . resolve ( cachedData ) ) ) , ( cacher . set = jest . fn ( ) ) ;
443+ cacher . get = jest . fn ( ( ) => Promise . resolve ( cachedData ) ) ;
444+ cacher . set = jest . fn ( ) ;
444445
445446 let mockAction = {
446447 name : "posts.find" ,
Original file line number Diff line number Diff line change @@ -764,20 +764,20 @@ describe("Test TracingMiddleware localAction", () => {
764764 rawName : "find" ,
765765 handler
766766 } ;
767- ( ctx . params = {
767+ ctx . params = {
768768 a : 2 ,
769769 b : "John" ,
770770 c : {
771771 d : 100 ,
772772 e : true
773773 }
774- } ) ,
775- ( ctx . meta = {
776- user : {
777- name : "Adam" ,
778- age : 30
779- }
780- } ) ;
774+ } ;
775+ ctx . meta = {
776+ user : {
777+ name : "Adam" ,
778+ age : 30
779+ }
780+ } ;
781781 } ) ;
782782
783783 it ( "should create a span with local custom tags function even if global custom tags are specified" , async ( ) => {
@@ -1946,20 +1946,20 @@ describe("Test TracingMiddleware localEvent", () => {
19461946 handler
19471947 } ;
19481948 ctx . tracing = true ;
1949- ( ctx . params = {
1949+ ctx . params = {
19501950 a : 2 ,
19511951 b : "John" ,
19521952 c : {
19531953 d : 100 ,
19541954 e : true
19551955 }
1956- } ) ,
1957- ( ctx . meta = {
1958- user : {
1959- name : "Adam" ,
1960- age : 30
1961- }
1962- } ) ;
1956+ } ;
1957+ ctx . meta = {
1958+ user : {
1959+ name : "Adam" ,
1960+ age : 30
1961+ }
1962+ } ;
19631963 } ) ;
19641964
19651965 it ( "should create a span with local custom tags function even if global custom event tags are specified" , async ( ) => {
You can’t perform that action at this time.
0 commit comments