Fix users MS e2e tests #2054
Labels
area: back-end
area: microservices
type: bug
Something isn't working
type: test
Creation and development of test
Milestone
Line 3-4 of the users microservice prod-ify PR that just landed hardcodes an environment variable in order to satisfy e2e tests passing.
This is not ideal and only present because the tests for the users microservice are currently coded to send requests to
/
as opposed tohttp://localhost/v1/users
. These tests need to get modified so they are actual e2e tests instead of unit tests.This change could serve to complicate things with supertest, and so node fetch might have to be used as an alternative.
Once fixed the lines mentioned above can be removed from
jest.config.e2e.js
.The text was updated successfully, but these errors were encountered: