374 | | grunt.registerTask('qunit:compiled', 'Runs QUnit tests on compiled as well as uncompiled scripts.', |
375 | | ['build', 'copy:qunit', 'qunit']); |
376 | | grunt.registerTask('test', 'Runs all QUnit and PHPUnit tasks.', ['qunit:compiled', 'phpunit']); |
| 374 | grunt.registerTask('qunit:compiled', 'Runs QUnit tests on compiled as well as uncompiled scripts.', function() { |
| 375 | grunt.task.run('build'); |
| 376 | grunt.task.run('copy:qunit'); |
| 377 | grunt.config(['qunit', 'files'], ['tests/qunit/compiled.html']); |
| 378 | grunt.task.run('qunit'); |
| 379 | }); |
| 380 | grunt.registerTask('test', 'Runs all QUnit and PHPUnit tasks.', ['qunit', 'qunit:compiled', 'phpunit']); |