</pre>
<p>To run the test, use the command <code>npm test</code>. Ospec considers any JavaScript file inside of a <code>tests</code> folder (anywhere in the project) to be a test.</p>
<pre><code>npm test</code></pre><hr>
<h3 id="running-mithril-in-a-non-browser-environment"><a href="#running-mithril-in-a-non-browser-environment">Running mithril in a non-browser environment</a></h3>
<p>Mithril has a few dependencies on globals that exist in all its supported browser environments but are missing in all non-br