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
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