Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests for protected endpoints #68

Open
helenzhou6 opened this issue May 11, 2018 · 1 comment
Open

Tests for protected endpoints #68

helenzhou6 opened this issue May 11, 2018 · 1 comment

Comments

@helenzhou6
Copy link
Collaborator

No description provided.

@helenzhou6
Copy link
Collaborator Author

Relate #64

As discussed, could have a stackMatch gitHub profile linked to foundersandcoders, and use that for the OAuth Application as well as being able to use it for testing (put login detail in .env file and then use .send to get to authorised routes).

Resources to check out:
https://medium.com/@juha.a.hytonen/testing-authenticated-requests-with-supertest-325ccf47c2bb
https://medium.com/@bill_broughton/testing-with-authenticated-routes-in-express-6fa9c4c335ca

@helenzhou6 helenzhou6 mentioned this issue May 15, 2018
18 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants