Reputation: 135
I have used the ember generate http-mock foo
command to create a mock server in my Ember application.
However, the server is not started during acceptance tests when using the ember test
command, even though it works in the development environment when using the ember server
command.
Why is that? Does the server have to be manually started in each test file?
Upvotes: 0
Views: 73
Reputation: 5955
It's a known issue with those mocks that they don't work for acceptance tests. Look into using Ember-CLI-Mirage, that's one of the main reasons it was written.
Upvotes: 1