amplify icon indicating copy to clipboard operation
amplify copied to clipboard

[Tests] API Tests for Auth0

Open Alex-is-Gonzalez opened this issue 1 year ago • 0 comments

Description

Auth0 is used to create a login via sessions. Create tests for common integration error codes

Tasks:

In File https://github.com/ProgramEquity/amplify/blob/main/server/routes/api/authentication.js

  • [ ] Handle async errors
    • Copilot prompt over whole file: How can I handle asynchronous errors in JavaScript?
  • [ ] Integration tests
    • What are integration errors I can test for using supertest

Alex-is-Gonzalez avatar Oct 13 '23 15:10 Alex-is-Gonzalez