You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ra...@apache.org on 2018/09/19 09:55:49 UTC

[cordova-js] branch master updated: Remove task that depended on browserify (#173)

This is an automated email from the ASF dual-hosted git repository.

raphinesse pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-js.git


The following commit(s) were added to refs/heads/master by this push:
     new 3fd5e43  Remove task that depended on browserify (#173)
3fd5e43 is described below

commit 3fd5e43baefd07b9d4a637c9cb9f5351e91eaebd
Author: Chris Brody <ch...@gmail.com>
AuthorDate: Wed Sep 19 05:55:44 2018 -0400

    Remove task that depended on browserify (#173)
---
 Gruntfile.js  | 1 -
 package.json  | 1 -
 tasks/test.js | 5 -----
 3 files changed, 7 deletions(-)

diff --git a/Gruntfile.js b/Gruntfile.js
index eee5161..ceda0f7 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -47,6 +47,5 @@ module.exports = function(grunt) {
     grunt.registerTask('default', ['build', 'test']);
     grunt.registerTask('build', ['compile', 'whitespace-check']);
     grunt.registerTask('test', ['compile:test', '_test']);
-    grunt.registerTask('btest', ['compile:test', '_btest']);
     grunt.registerTask('cover', ['compile', '_cover']);
 };
diff --git a/package.json b/package.json
index f7843ff..2bc6b7a 100644
--- a/package.json
+++ b/package.json
@@ -17,7 +17,6 @@
   "scripts": {
     "eslint": "eslint src test pkg",
     "test": "grunt test && npm run eslint",
-    "btest": "grunt btest && npm run eslint",
     "build": "grunt compile"
   },
   "license": "Apache-2.0",
diff --git a/tasks/test.js b/tasks/test.js
index 5e8306b..ca2e7ad 100644
--- a/tasks/test.js
+++ b/tasks/test.js
@@ -28,9 +28,4 @@ module.exports = function(grunt) {
         var done = this.async();
         require('./lib/test-jsdom')(done);
     });
-
-    grunt.registerTask('_btest', 'Runs tests in the browser', function() {
-        require('./lib/test-browser')();
-        this.async(); // never finish.
-    });
 };


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org