span>
    window<span class="token punctuation">.</span>alert <span class="token operator">=</span> originalAlert<span class="token punctuation">;</span> <span class="token comment">// restore window.alert</span>
  <span class="token punctuation">}</span><span class="token punctuation">)</span><span class="token punctuation">;</span>

  <span class="token function">test</span><span class="token punctuation">(</span><span class="token string">'should display an alert'</span><span class="token punctuation">,<