Preferred way to test server errors: acceptance vs adapter tests


#1

I’m currently testing how my ember client handles errors from the server. I’m using ember-cli-mirage to mock out server responses, and this is working fine, but acceptance tests are a bit “expensive.”

I’m wondering if others have had success testing server errors through adapter tests. I haven’t had much luck finding resources on how to test adapters and would love to know if there are any best practices around error testing.

Thanks!