cerns"), allows it to be more readily isolated 
for testing, which in turn allows you to catch bugs more easily.</p>
<p>Here is an example of how to unit test this route:</p>
<div class="filename javascript"><div class="ribbon"></div><span>tests/unit/routes/application-test.js</span><pre class="language-javascript line-numbers"><code class="javascript language-javascript"><span class="token keyword">let</span> originalAlert<span class="token punctuation">;</span>

<span class="token function">moduleFor</spa