https://supertokens.com/ logo
#support-questions
Title
# support-questions
r

rp

01/28/2022, 8:06 PM
@User you can see how we write tests in nodeJS here: https://github.com/supertokens/supertokens-node/blob/master/test/emailpassword/emailverify.test.js#L68 In the above test case, we are signing up a user (creating a new supertokens session), and then using the session tokens to call an API that requires session verification. You can see the API call here: https://github.com/supertokens/supertokens-node/blob/66800748fb21bdb673a1496e2582a79b40beacad/test/utils.js#L375 perhaps the above would help ^^