From 6f39e168c620ea1babcb50a0e773f9bd337fc6e2 Mon Sep 17 00:00:00 2001 From: Tobias Bieniek Date: Sat, 8 Dec 2018 12:40:34 +0100 Subject: [PATCH] QUnit: Remove obsolete issue workaround Since https://github.com/qunitjs/qunit/pull/1250 was merged this should no longer be needed --- tests/index.html | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/tests/index.html b/tests/index.html index 54de8c5d6aa..43d01517886 100644 --- a/tests/index.html +++ b/tests/index.html @@ -183,25 +183,7 @@ } }); - // work around https://github.com/qunitjs/qunit/issues/1224 - QUnit.testStart(function() { - var existingFixture = document.getElementById('qunit-fixture'); - - // create a new pristine fixture element - var newFixture = document.createElement('div'); - newFixture.setAttribute('id', 'qunit-fixture'); - - // replace the old (possibly mutated fixture) with the new pristine one - existingFixture.parentNode.replaceChild(newFixture, existingFixture); - }); - QUnit.testDone(function(results) { - var oldFixture = document.getElementById('qunit-fixture'); - var parent = oldFixture.parentElement; - var newFixture = document.createElement('div'); - newFixture.id = 'qunit-fixture'; - parent.replaceChild(newFixture, oldFixture); - testsTotal++; if (results.failed) {