Skip to content
Permalink
Browse files

Build: Remove manual QUnit fixture resetting

It was needed when QUnit 1.x one used but we've since upgraded to QUnit 2.x.

Closes gh-4312
Ref gh-4307
  • Loading branch information...
mgol committed Mar 11, 2019
1 parent ca9356e commit 84b6a0beb1de193520bb5541c841cbecc7195a5b
Showing with 1 addition and 5 deletions.
  1. +1 −3 build/tasks/qunit_fixture.js
  2. +0 −2 test/data/qunit-fixture.js
@@ -13,9 +13,7 @@ module.exports = function( grunt ) {
"utf8"
).toString().replace( /\r\n/g, "\n" )
) +
";\n" +
"// Compat with QUnit 1.x:\n" +
"document.getElementById( \"qunit-fixture\" ).innerHTML = QUnit.config.fixture;\n"
";\n"
);
grunt.log.ok( "Updated " + dest + "." );
} );

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

0 comments on commit 84b6a0b

Please sign in to comment.
You can’t perform that action at this time.