This repository was archived by the owner on Sep 3, 2020. It is now read-only.

Description
Running npm test with a webmaker_oauth2_test database created in postgresql, and the login service running on port 3000, generates a whole bunch of errors around lib/accounts.js line 37 which parses the login response.
A console.log of the data it tries to parse shows that it dies when it gets the value "not json" as body, which is a little confusing because it's unclear where that's coming from. The test mock server generates it, it seems like, but it's unclear why it does so - does the login.webmaker.org service generate that same string in any circumstance?