app.inject
Also written: inject
A Fastify method that sends a simulated HTTP request straight to the app without opening a network port. It is used in tests to POST GraphQL operations to `/graphql` and check the replies.
Also written: inject
A Fastify method that sends a simulated HTTP request straight to the app without opening a network port. It is used in tests to POST GraphQL operations to `/graphql` and check the replies.