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

add tests for async middleware #1096

Merged
merged 2 commits into from
Nov 7, 2023

Conversation

osi-jehrlich
Copy link
Contributor

Add a few tests

Well, my intent was to see what it would take to add async support to the recent middleware API, so I started adding tests... and the tests already pass with no code changes necessary.

There's a bit of gymnastics around the MaybePromise responses, but I think that's to be expected at this stage in the code.

@IanVS
Copy link
Collaborator

IanVS commented Nov 7, 2023

Thanks!

@IanVS IanVS merged commit 34266bf into miragejs:master Nov 7, 2023
6 checks passed
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.

None yet

2 participants