sorry if this sounds like a stupid question, i dont see any documentation on how to write tests with...
v
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
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
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
we will get around to doing it in a few months for sure.
For now though, the test cases in our repo is your best bet