cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nikhilkh <...@git.apache.org>
Subject [GitHub] cordova-plugin-file-transfer pull request: CB-8641 Fixed occasiona...
Date Tue, 10 Mar 2015 18:53:44 GMT
Github user nikhilkh commented on a diff in the pull request:

    https://github.com/apache/cordova-plugin-file-transfer/pull/69#discussion_r26153526
  
    --- Diff: tests/tests.js ---
    @@ -305,7 +306,17 @@ exports.defineAutoTests = function () {
                 //         - 'httpssss://example.com'
                 //         - 'apache.org', with subdomains="true"
                 //         - 'cordova-filetransfer.jitsu.com'
    -            describe('download', function() {
    +            describe('download', function () {
    +                var originalTimeout = jasmine.DEFAULT_TIMEOUT_INTERVAL;
    +
    +                beforeEach(function () {
    +                    // Download tests need a larger time interval to run successfully
    +                    jasmine.DEFAULT_TIMEOUT_INTERVAL = 10000;
    --- End diff --
    
    We've switched to moving Jasmine 2.2 which provides a nice syntax for modifying default
timeout duration: http://jasmine.github.io/2.2/introduction.html#section-51


---
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