I have a /api/users
mock endpoint under server/mocks/users
.
It works fine in the browser when I run ember s
, but it fails when I run ember test
for an acceptance test to visit the users
route. I get a 404, Not found
for /api/users
. All my unit tests pass.
What am I missing?
It seems that this isn't possible yet.
I decided to use ember-cli-mirage
instead.