 environment variables and explicit options from <code>server({ a: &#39;b&#39; });</code>:</p>
<pre><code class="language-js">const mid = ctx =&gt; {
  expect(ctx.options.port).toBe(3012);
};

/* test */
const res = await run({ port: 3012 }, mid, () =&gt; 200).get(&#39;/&#39;);
expect(res.status).toBe(200);
</code></pre>
<p>If we have a variable set in the <code>.env</code> or through some other environment variables, it&#39;ll use that instead as <a href="/documentation/options/">environment options take p