sorry if this sounds like a stupid question, i dont see any documentation on how to write tests with jest/mocha for verifying if things work as intended. Am I missing something?
r
rp_st
06/19/2023, 3:16 PM
hey @vivz_danger there isn't a very good solution for this at the moment. You can see how we have written tests by inspecting our SDK test code though
v
vivz_danger
06/19/2023, 5:11 PM
if it isnt too much to ask, could you kindly add some documentation on this with jest maybe, i have tests for my existing auth system and i would like to migrate it. i wrote tests from scratch for this and was expecting to find something along these lines on supertokens as well
r
rp_st
06/19/2023, 5:12 PM
we will get around to doing it in a few months for sure.
rp_st
06/19/2023, 5:12 PM
For now though, the test cases in our repo is your best bet
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).