nevesz7 / botjs

0 stars 0 forks source link

Testing if createUser mutation errors are properly formatted #18

Closed nevesz7 closed 1 year ago

nevesz7 commented 1 year ago

Created an error.ts file with the CreateUserError class that extends Error.

The code tries to insert an user with same email from previous test After that test succesfully fails, it tries to insert an user with an password that does not follow the password policy