You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know whether this is a bug, a not-yet-supported feature, or whether I'm just doing something wrong...
I am trying to make use of the api-stubs provided in ember-app-kit for testing.
The stubs work correctly when I view the site in the browser, and when I run the tests by visting /tests in the browser.
However, when I run the tests from the command line with testem (by running grunt test:server) the tests fail as the stub data isn't returned.
You can find a simple example demonstrating the problem here: https://github.com/tomclose/minimal_eak_test_stub_problem, created from the most recent version of ember-app-kit. At the very least, this shows that the out-of-the-box eak defaults don't play well together.
The text was updated successfully, but these errors were encountered:
@tomclose this was incredibly helpful for me. Thank you for sharing the work around. I also (as a beginner) expected the api-stubs to just "work" out-of-the-box for my Testem server.
@tomclose as you can see there are open issues on that: #509, #374, #365
Unfortunately they didn't made it into master, yet.
As you stated in your SO comment there is discussion about how to test (fake server or use a real server). I'll try to look into the issues i mentioned and see if we can get a solution for EAK out of them.
I don't know whether this is a bug, a not-yet-supported feature, or whether I'm just doing something wrong...
I am trying to make use of the api-stubs provided in ember-app-kit for testing.
The stubs work correctly when I view the site in the browser, and when I run the tests by visting /tests in the browser.
However, when I run the tests from the command line with testem (by running grunt test:server) the tests fail as the stub data isn't returned.
You can find a simple example demonstrating the problem here: https://github.com/tomclose/minimal_eak_test_stub_problem, created from the most recent version of ember-app-kit. At the very least, this shows that the out-of-the-box eak defaults don't play well together.
The text was updated successfully, but these errors were encountered: