pan><span style="color:#f92672">)))</span><span style="color:#66d9ef">:</span>
  <span style="color:#66d9ef">actual</span> <span style="color:#f92672">=&gt;</span> expect<span style="color:#f92672">(</span>actual<span style="color:#f92672">).</span>toContain<span style="color:#f92672">(</span><span style="color:#e6db74">&#34;foo&#34;</span><span style="color:#f92672">)</span>
</code></pre></div><p>This allows for more complex testing compared to when using <code>toCompleteWith</code>.</p>
<blockquote>
<p><c