mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
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:
@@ -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');
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user