Test two independent windows with Karma
<p>How can I write tests with Karma/Mocha/Chai that are independent? For instance, the following tests will pass:</p>

<pre><code>'use strict'

describe("test 1", function () {
  it("has a new window", function() {
    expect(window.test).to.be.undefined;
    window.test = 123;
  });
});

describe("test 2", function () {
  it("has not a new window", function() {
    expect(window.test).to.be.equal(123);
  });
});
</code></pre>

<p>While I'd like the second test to happen in a new environment, and then to fail here. My Karma conf is in single run mode and doesn't autowatch.</p>