light-my-request
light-my-request copied to clipboard
Fake HTTP injection library
@budarin I open this PR to see if the unit tests run. #### Checklist - [ ] run `npm run test` and `npm run benchmark` - [ ] tests and/or...
### Prerequisites - [X] I have written a descriptive issue title - [X] I have searched existing issues to ensure the feature has not already been requested ### 🚀 Feature...
### Prerequisites - [X] I have written a descriptive issue title - [X] I have searched existing issues to ensure the feature has not already been requested ### 🚀 Feature...
Imagine that you are using `fastify.inject` to communicate with other endpoints of your app and sometime in the future you split to a microservices architecture; your code will break because...
### Prerequisites - [X] I have written a descriptive issue title - [X] I have searched existing issues to ensure the issue has not already been raised ### Issue _No...
### Prerequisites - [X] I have written a descriptive issue title - [X] I have searched existing issues to ensure the feature has not already been requested ### 🚀 Feature...
migrate to class syntax (Chain, request, response) copied class from https://github.com/fastify/light-my-request/pull/252 but without changing the logic in `lib/do-inject.js` (`doInject`) (to resolve [Test Fastify Integration](https://github.com/fastify/light-my-request/actions/runs/6665455865/job/18115064636?pr=252)) #### Checklist - [X] run `npm...
migrate to class syntax (Chain, request, response) bun.js support update usage of deprecated attribute - [http.ServerResponse._header](https://github.com/fastify/light-my-request/blob/v5.10.0/lib/response.js#L177) - [http.ServerResponse.connection](https://github.com/fastify/light-my-request/blob/v5.10.0/lib/response.js#L45) #### Checklist - [X] run `npm run test` and `npm run benchmark`...
### Prerequisites - [X] I have written a descriptive issue title - [X] I have searched existing issues to ensure the bug has not already been reported ### Fastify version...
migrate to class syntax (Chain, request, response) add a mock socket class (parse headers, body, trailers) change emitting and subscription this is the sequel to https://github.com/fastify/light-my-request/pull/252 bun.js support update usage...