Skip to content

Commit

Permalink
[grunt] "deprecate" test:api:runner task
Browse files Browse the repository at this point in the history
  • Loading branch information
spalger committed May 17, 2017
1 parent b2ac4c2 commit 7851ed8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tasks/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ module.exports = function (grunt) {
'run:apiTestServer:keepalive'
]);

grunt.registerTask('test:api:runner', [
'functional_test_runner:api_integration'
]);
grunt.registerTask('test:api:runner', () => {
grunt.fail.fatal('test:api:runner has moved, use: `node scripts/function_test_runner api_integration`');
});

grunt.registerTask('test', subTask => {
if (subTask) grunt.fail.fatal(`invalid task "test:${subTask}"`);
Expand Down

0 comments on commit 7851ed8

Please sign in to comment.