></pre></div>
<p>Let's start by testing the helper by showing a simple unit test and then move on
to testing with a rendering test afterwards.</p>
<p>Helpers are functions, which can be easily tested through <code>module</code> alone.</p>
<div class="filename javascript"><div class="ribbon"></div><span>tests/unit/helpers/format-currency-test.js</span><pre class="language-javascript line-numbers"><code class="javascript language-javascript"><span class="token keyword">import</span> <span class="token punctua