Github user TimBarham commented on a diff in the pull request:

    https://github.com/apache/cordova-lib/pull/332#discussion_r43292467
  
    --- Diff: cordova-lib/spec-cordova/save.spec.js ---
    @@ -244,19 +307,26 @@ describe('(save flag)', function () {
                     console.log(err);
                     expect(false).toBe(true);
                     done();
    +            }).finally(function () {
    +                revertDownloadPlatform();
                 });
    -        }, timeout);
    +        }, TIMEOUT);
     
             it('spec.11 should update spec with git url when updating using 
git url', function (done) {
                 helpers.setEngineSpec(appPath, platformName, 
platformVersionNew);
    -            platform('add', platformName + '@' + platformVersionNew)
    +            mockDownloadPlatform(platformLocalPathOld, platformVersionOld);
    +
    +            platform('add', platformName + '@' + platformVersionOld)
                 .then(function () {
    +                revertDownloadPlatform();
                     var fsExistsSync = fs.existsSync.bind(fs);
                     spyOn(fs, 'existsSync').andCallFake(function (somePath) {
                         return (somePath === path.join(appPath, 'platforms', 
platformName)) || fsExistsSync(somePath);
                     });
    +                mockDownloadPlatform(platformLocalPathNew, 
platformVersionNew);
    --- End diff --
    
    Using edge for this test has caught 2 `cordova-android` issues in the last 
week or so. While ideally we don't want `cordova-lib` tests failing because of 
`cordova-android` issues, should we continue using edge in these tests until 
we've added `update` tests to `cordova-android`?


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to