How to test an exception was not thrown with Jest? : <p>The Jest docs do not demonstrate a way of asserting that no exception was thrown, only that one was.</p>

<p><code>expect(() =&gt; ...error...).toThrow(error)</code></p>

<p>How do I assert if one was <strong>not</strong> thrown?</p>
