cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From audreyso <...@git.apache.org>
Subject [GitHub] cordova-lib pull request #510: Fixjasmine : CB:12018 - updating tests in cor...
Date Wed, 14 Dec 2016 20:21:13 GMT
Github user audreyso commented on a diff in the pull request:

    https://github.com/apache/cordova-lib/pull/510#discussion_r92480797
  
    --- Diff: cordova-lib/spec-cordova/lazy_load.spec.js ---
    @@ -34,8 +34,8 @@ var lazy_load = require('../src/cordova/lazy_load'),
     describe('lazy_load module', function() {
         var custom_path, cachePackage, fakeLazyLoad;
         beforeEach(function() {
    -        custom_path = spyOn(config, 'has_custom_path').andReturn(false);
    -        cachePackage = spyOn(npmHelper, 'cachePackage').andReturn(Q(path.join('lib',
'dir')));
    +        custom_path = spyOn(config, 'has_custom_path').and.returnValue(false);
    +        cachePackage = spyOn(npmHelper, 'cachePackage').and.returnValue(false);
    --- End diff --
    
    Ah! Thanks will fix this part!


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


Mime
View raw message