-
Hi. I need an constructor of Context. I need to create my own context object for testing my controller functions. Please help me |
Beta Was this translation helpful? Give feedback.
Answered by
yusukebe
Feb 20, 2023
Replies: 1 comment 1 reply
-
The constructor is here: Line 56 in 2c5b989 But basically, the user should not use |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
AliKaanT
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The constructor is here:
hono/src/context.ts
Line 56 in 2c5b989
But basically, the user should not use
new
to createContext
directly.