mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-28 09:51:06 -06:00
439f283916
* saved layout * fix fieldName check
16 lines
403 B
JavaScript
16 lines
403 B
JavaScript
const { getConfigField } = require('../js/config');
|
|
|
|
// mock required so getConfig reads config from correct path
|
|
jest.mock('../js/utils/misc.js', function() {
|
|
return {
|
|
isDevEnv: false,
|
|
isMac: false
|
|
}
|
|
});
|
|
|
|
test('getConfig should have proper url', function() {
|
|
return getConfigField('url').then(function(url) {
|
|
expect(url).toBe('https://my.symphony.com');
|
|
});
|
|
});
|