Skip to content

Commit

Permalink
Build: Remove manual QUnit fixture resetting
Browse files Browse the repository at this point in the history
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 authored Mar 11, 2019
1 parent ca9356e commit 84b6a0b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 1 addition & 3 deletions build/tasks/qunit_fixture.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 + "." );
} );
Expand Down
2 changes: 0 additions & 2 deletions test/data/qunit-fixture.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 84b6a0b

Please sign in to comment.