Upgrade package versions

- Upgrade electron to 3.0.2
- Upgrade other dependencies to the latest versions
- Clean up deprecated code
This commit is contained in:
Vishwas Shashidhar
2018-10-02 12:34:38 +05:30
parent 6d86071072
commit ba83338e6e
7 changed files with 33 additions and 33 deletions

View File

@@ -264,7 +264,7 @@ describe('read/write config tests', function() {
createTempUserConfig(userConfig);
return updateConfigField('', 'hello word').catch(function (err) {
expect(err).toBe('can not save config, invalid input');
expect(err.message).toBe('can not save config, invalid input');
});
});
@@ -290,7 +290,7 @@ describe('read/write config tests', function() {
return saveUserConfig(undefined, 'something', 'oldConfig')
.catch(function (reject) {
expect(reject).toBe('can not save config, invalid input');
expect(reject.message).toBe('can not save config, invalid input');
});
});
@@ -304,7 +304,7 @@ describe('read/write config tests', function() {
return saveUserConfig('url2', 'something', undefined)
.catch(function (reject) {
expect(reject).toBe('can not save config, invalid input');
expect(reject.message).toBe('can not save config, invalid input');
});
});