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

chore: Fix testing of koa-router #2576

Closed
wants to merge 1 commit into from

Conversation

jsumners-nr
Copy link
Contributor

This PR reverts #2573 and implements the changes required to make the tests work again.

  1. koajs/router@b5b08ba shows that /first/(.*) should become /first/{*any}
  2. I don't know why the segment names have changed in the other test. I don't understand why the list was the way it was to begin with.

@jsumners-nr jsumners-nr marked this pull request as ready for review September 16, 2024 14:57
]
]
]
['Koa/Router: /', ['Nodejs/Middleware/Koa/terminalMiddleware//:second']]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this breaks older versions of koa, was this something that changed in behavior with newer versions?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the original behavior?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The current version of koa is still at 2 ☹️

@bizob2828
Copy link
Member

#2578 supersedes this

@bizob2828 bizob2828 closed this Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done: Issues recently completed
Development

Successfully merging this pull request may close these issues.

2 participants