Initializes and configures the Fastify application instance.
Plugins are registered before routes so that compression, rate
limiting, ETags and content negotiation apply to every route. The
previous ordering (routes first) silently disabled all of these
plugins for every registered route.
overrides.logger replaces the logger configuration, so tests can
capture what the server logs.
Initializes and configures the Fastify application instance.
Plugins are registered before routes so that compression, rate limiting, ETags and content negotiation apply to every route. The previous ordering (routes first) silently disabled all of these plugins for every registered route.
overrides.loggerreplaces the logger configuration, so tests can capture what the server logs.