Do you have any examples of writing automated test...
# support-questions-legacy
m
Do you have any examples of writing automated tests with supertokens? Note I purely want to test the backend session management, not the client-side. I've tried using
superagent
but it seems cookies aren't being properly handled.
r
Hey! Yea. Have a look at how we write tests for our node SDK. Like https://github.com/supertokens/supertokens-node/blob/master/test/session.test.js
m
Thanks, that helped! I got tests working nicely.
r
Awesome!