ode>click</code> functions from ember-test-helpers to show and interact with the component being tested as well as <code>hbs</code> from <a href="https://github.com/ember-cli/ember-cli-htmlbars-inline-precompile">htmlbars-inline-precompile</a> to help with inline template definitions. With these APIs, we can test clicking on this component and check if the text is successfully updated with each click.</p>
<div class="filename javascript"><div class="ribbon"></div><span>components/tests/counter-test.js</span