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
This commit is contained in:
parent
d416108af5
commit
e5dddf77e8
1
.gitignore
vendored
1
.gitignore
vendored
@ -14,6 +14,7 @@ results
|
|||||||
wp-config.php
|
wp-config.php
|
||||||
wp-tests-config.php
|
wp-tests-config.php
|
||||||
phpunit.xml
|
phpunit.xml
|
||||||
|
qunit/tests/compiled.html
|
||||||
|
|
||||||
node_modules
|
node_modules
|
||||||
npm-debug.log
|
npm-debug.log
|
||||||
|
@ -333,7 +333,7 @@ module.exports = function(grunt) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
grunt.registerTask('qunit:compiled', 'Runs QUnit tests on compiled as well as uncompiled scripts.',
|
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']);
|
grunt.registerTask('test', 'Runs all QUnit and PHPUnit tasks.', ['qunit:compiled', 'phpunit']);
|
||||||
|
|
||||||
// Default task.
|
// Default task.
|
||||||
|
Loading…
Reference in New Issue
Block a user