You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are developing multiple services using Bun+Hono on the local system and therefore we need the application to assign port automatically based on availability, or a way to provide a custom port number.
When i following the document to assign custom port number, the test case starts failing, please suggest the solution.
// export default app --> test cases works since they are using app.request
export default {
port: 4000,
fetch: app.fetch,
}
but if i am not exporting the app in favour of custom port number, test does not work.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
We are developing multiple services using Bun+Hono on the local system and therefore we need the application to assign port automatically based on availability, or a way to provide a custom port number.
When i following the document to assign custom port number, the test case starts failing, please suggest the solution.
but if i am not exporting the app in favour of custom
port
number, test does not work.Beta Was this translation helpful? Give feedback.
All reactions