From e5dddf77e87703472606c9d5f3da513d6093ccd9 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Tue, 12 Nov 2013 23:20:28 +0000 Subject: [PATCH] Don't remove the compiled.html QUnit file. Ignore it instead. props jorbin. fixes #25781. git-svn-id: https://develop.svn.wordpress.org/trunk@26108 602fd350-edb4-49c9-b593-d223f7449a82 --- .gitignore | 1 + Gruntfile.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 2edb60a5a6..a2a73bd2c0 100644 --- a/.gitignore +++ b/.gitignore @@ -14,6 +14,7 @@ results wp-config.php wp-tests-config.php phpunit.xml +qunit/tests/compiled.html node_modules npm-debug.log diff --git a/Gruntfile.js b/Gruntfile.js index 4a57ae51d5..12225c64c7 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -333,7 +333,7 @@ module.exports = function(grunt) { }); grunt.registerTask('qunit:compiled', 'Runs QUnit tests on compiled as well as uncompiled scripts.', - ['build', 'copy:qunit', 'qunit', 'clean:qunit']); + ['build', 'copy:qunit', 'qunit']); grunt.registerTask('test', 'Runs all QUnit and PHPUnit tasks.', ['qunit:compiled', 'phpunit']); // Default task.