I have a node.js, typescript project with user login, signup, change profile for which i want to write some mocha tests. Unit tests needs to be written. Test should mock postgres database. Test should use modern typescript.
Project is for user authentication.
It has signup, login, changePassword, resetPassword, changeProfile grahql mutations.
Unit tests should be written for all mutations and queries