applyWSSHandler yells at context error in express
I used the example code from docs.
My applyWSSHandler code is:
I see the next error on createContext:
The createContext function was copied from examples as well. I just made it to return req and res instead of the empty object:
How should I change the createContext function to make it work? I have a problem while trying to write tests probably because of this too.
0 Replies