rjz / supertest-session

Persistent sessions for supertest
Other
88 stars 21 forks source link

Impossible to write on req.session #53

Open AnisBelahcene opened 1 year ago

AnisBelahcene commented 1 year ago

Hello guys, actually i'm trying to test with supertest-session when I initialize the login I set the informations of the user on req.session.infoUser but jest is returning the error : Cannot set properties of undefined (setting 'infoUser')

I don't understand why i have this problem bc the function is working well and i can connect on my server req.session is working well