You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by au...@apache.org on 2017/09/21 19:50:22 UTC

cordova-lib git commit: CB-13288 : updated index.js and test to fix cordova plugin search

Repository: cordova-lib
Updated Branches:
  refs/heads/master 701c15fe4 -> e50c9b60e


CB-13288 : updated index.js and test to fix cordova plugin search


Project: http://git-wip-us.apache.org/repos/asf/cordova-lib/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-lib/commit/e50c9b60
Tree: http://git-wip-us.apache.org/repos/asf/cordova-lib/tree/e50c9b60
Diff: http://git-wip-us.apache.org/repos/asf/cordova-lib/diff/e50c9b60

Branch: refs/heads/master
Commit: e50c9b60e45cdc033d68bce62a2af894da0e1b61
Parents: 701c15f
Author: Audrey So <au...@apache.org>
Authored: Fri Sep 15 13:34:44 2017 -0700
Committer: Audrey So <au...@apache.org>
Committed: Fri Sep 15 13:34:44 2017 -0700

----------------------------------------------------------------------
 spec/cordova/plugin/index.spec.js | 2 +-
 src/cordova/plugin/index.js       | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/e50c9b60/spec/cordova/plugin/index.spec.js
----------------------------------------------------------------------
diff --git a/spec/cordova/plugin/index.spec.js b/spec/cordova/plugin/index.spec.js
index 3cffa5c..b2be5b0 100644
--- a/spec/cordova/plugin/index.spec.js
+++ b/spec/cordova/plugin/index.spec.js
@@ -121,7 +121,7 @@ describe('cordova/plugin', function () {
                 }).done(done);
         });
 
-        xit('should direct "search" command to the "search" submodule', function (done) {
+        it('should direct "search" command to the "search" submodule', function (done) {
             spyOn(plugin, 'search').and.returnValue(true);
             plugin('search')
                 .then(function () {

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/e50c9b60/src/cordova/plugin/index.js
----------------------------------------------------------------------
diff --git a/src/cordova/plugin/index.js b/src/cordova/plugin/index.js
index 2ceae70..8e7e095 100644
--- a/src/cordova/plugin/index.js
+++ b/src/cordova/plugin/index.js
@@ -27,6 +27,7 @@ module.exports.add = require('./add');
 module.exports.remove = require('./remove');
 module.exports.list = require('./list');
 module.exports.save = require('./save');
+module.exports.search = require('./search');
 
 function plugin (command, targets, opts) {
     // CB-10519 wrap function code into promise so throwing error


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