This page, ember-cli testing, says "The included tests demonstrate how to write both unit tests and acceptance/integration tests using the new ember-testing package."
However in order to get an integration test working, I need to find module
and visit
or any of the ember test helpers.
Where are they found, where can I import them from?
Details:
The closest I have found to module
is moduleFor
, which can be imported from ember-qunit
. Module for is not suitable for integration testing as I am testing an entire page or series of pages within the app, rather than an individual model, route, controller, view, etc.
My best guess is that visit
can be found within Ember itself, but I am not sure where to import it from.
Using neither module
nor moduleFor
, I am able to run the tests, but they error out:
ReferenceError: visit is not defined