@@ -21,11 +21,11 @@ export async function startServer(): Promise<ServerInstance> {
2121 target : "pino-pretty" ,
2222 options : {
2323 translateTime : "HH:MM:ss Z" ,
24- ignore : "pid,hostname" ,
25- } ,
24+ ignore : "pid,hostname"
25+ }
2626 }
27- : undefined ,
28- } ,
27+ : undefined
28+ }
2929 } ) ;
3030
3131 // Catch-all proxy through PollyJS
@@ -34,7 +34,7 @@ export async function startServer(): Promise<ServerInstance> {
3434 const url = new URL ( request . url , "http://localhost:4001" ) ;
3535
3636 fastify . log . debug (
37- `[Fastify] Incoming request: ${ request . method } ${ request . url } ` ,
37+ `[Fastify] Incoming request: ${ request . method } ${ request . url } `
3838 ) ;
3939 fastify . log . debug ( `[Fastify] Transformed to: ${ request . method } ${ url } ` ) ;
4040
@@ -48,7 +48,7 @@ export async function startServer(): Promise<ServerInstance> {
4848 }
4949
5050 fastify . log . debug (
51- `[Fastify] Forwarded headers: ${ JSON . stringify ( request . headers ) } ` ,
51+ `[Fastify] Forwarded headers: ${ JSON . stringify ( request . headers ) } `
5252 ) ;
5353
5454 const response = await fetch ( url , {
@@ -57,7 +57,7 @@ export async function startServer(): Promise<ServerInstance> {
5757 body :
5858 request . method !== "GET" && request . method !== "HEAD"
5959 ? JSON . stringify ( request . body )
60- : undefined ,
60+ : undefined
6161 } ) ;
6262
6363 const data = await response . text ( ) ;
@@ -83,7 +83,7 @@ export async function startServer(): Promise<ServerInstance> {
8383 // Start listening without awaiting (non-blocking)
8484 const listenPromise = fastify . listen ( {
8585 port,
86- host : "0.0.0.0" ,
86+ host : "0.0.0.0"
8787 } ) ;
8888
8989 await fastify . ready ( ) ;
@@ -94,6 +94,6 @@ export async function startServer(): Promise<ServerInstance> {
9494 close : async ( ) => {
9595 await fastify . close ( ) ;
9696 } ,
97- listen : listenPromise ,
97+ listen : listenPromise
9898 } ;
9999}
0 commit comments