Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: add tests for middleware bodies #48

Merged
merged 1 commit into from
May 17, 2024
Merged

Conversation

43081j
Copy link
Contributor

@43081j 43081j commented Jan 14, 2024

This adds a few simple tests for handling bodies which originated from other middleware (i.e. req.body is set).

I was digging around the code to see how it works and figured i'd add these in

@JustinBeckwith
Copy link
Contributor

Greetings, and sorry for the comically late response. If you'd be willing to rebase and make sure these still pass, happy to accept the PR!

This adds a few simple tests for handling bodies which originated from
other middleware (i.e. `req.body` is set).
@43081j
Copy link
Contributor Author

43081j commented May 17, 2024

no worries, have rebased for you 👍

thanks for ending up this deep in old PRs 😅 always nice to close some of these off

@JustinBeckwith JustinBeckwith merged commit 1badacd into discord:main May 17, 2024
4 checks passed
@43081j 43081j deleted the tests branch May 18, 2024 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants