Skip to content

How to write test with supertest #96

Answered by kartikk221
7elven asked this question in Q&A
Discussion options

You must be logged in to vote

HyperExpress is not 100% drop-in compatible with ExpressJS and it seems that some of the logic is trying to call a method called Server.address() which currently is not implemented with HyperExpress.

You can add this method yourself onto your app if you understand the behavior of this method or wait for future updates which may add compatibility for this method.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kartikk221
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants