In this tutorial, I cover writing an integration test for a component with the latest testing API available in Ember 3.
I go over:
Triggering events
Test helpers available out of the box
How to write your own helper
How to pause a test for debugging
How to stub and register a service
and more!
Checkout the repo:
https://github.com/sbatson5/lets-write-some-tests
And the finished PR:
https://github.com/sbatson5/lets-write-some-tests/pull/2