Skip to content

Commit

Permalink
Remove the 'let teardown clean up globals test' - IE<9 doesn't suppor…
Browse files Browse the repository at this point in the history
…t (==buggy) deleting window properties, and that's not worth the trouble, as everything else passes just fine. Fixes #155
  • Loading branch information
jzaefferer committed Oct 12, 2011
1 parent 23937c1 commit c288e42
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions test/test.js
Expand Up @@ -461,16 +461,6 @@ test('Circular reference - test reported by soniciq in #105', function() {
});
})();

module("noglobals", {
teardown: function() {
delete window.badGlobalVariableIntroducedInTest;
}
});
test("let teardown clean up globals", function() {
// this test will always pass if run without ?noglobals=true
window.badGlobalVariableIntroducedInTest = true;
});

if (typeof setTimeout !== 'undefined') {
function testAfterDone(){
var testName = "ensure has correct number of assertions";
Expand Down

0 comments on commit c288e42

Please sign in to comment.