@@ -96,9 +96,11 @@ describe('LoggingWinston', function () {
9696 level : 'error' ,
9797 verify : ( entry : Entry ) => {
9898 assert (
99- ( entry . data as {
100- message : string ;
101- } ) . message . startsWith ( 'fourth Error:' )
99+ (
100+ entry . data as {
101+ message : string ;
102+ }
103+ ) . message . startsWith ( 'fourth Error:' )
102104 ) ;
103105 } ,
104106 } ,
@@ -113,9 +115,11 @@ describe('LoggingWinston', function () {
113115 level : 'log' ,
114116 verify : ( entry : Entry ) => {
115117 assert (
116- ( entry . data as {
117- message : string ;
118- } ) . message . startsWith ( 'fifth message' )
118+ (
119+ entry . data as {
120+ message : string ;
121+ }
122+ ) . message . startsWith ( 'fifth message' )
119123 ) ;
120124 } ,
121125 } ,
@@ -143,7 +147,7 @@ describe('LoggingWinston', function () {
143147 assert . strictEqual ( entries . length , testData . length ) ;
144148 entries . reverse ( ) . forEach ( ( entry , index ) => {
145149 const test = testData [ index ] ;
146- test . verify ( ( entry as { } ) as Entry ) ;
150+ test . verify ( entry as { } as Entry ) ;
147151 } ) ;
148152 } ) ;
149153
@@ -180,8 +184,9 @@ describe('LoggingWinston', function () {
180184 it ( 'reports errors' , async ( ) => {
181185 const start = Date . now ( ) ;
182186 const service = `logging-winston-system-test-winston3-${ UUID } ` ;
183- const LoggingWinston = proxyquire ( '../src/index' , { winston} )
184- . LoggingWinston ;
187+ const LoggingWinston = proxyquire ( '../src/index' , {
188+ winston,
189+ } ) . LoggingWinston ;
185190
186191 const logger = winston . createLogger ( {
187192 transports : [
0 commit comments