mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-31 19:27:00 -06:00
16 lines
394 B
JavaScript
16 lines
394 B
JavaScript
const getConfig = require('../js/getconfig');
|
|
|
|
// mock required so getConfig reads config from correct path
|
|
jest.mock('../js/utils', function() {
|
|
return {
|
|
isDevEnv: false,
|
|
isMac: false
|
|
}
|
|
});
|
|
|
|
test('getConfig should have proper url', function() {
|
|
return getConfig(false).then(function(result) {
|
|
expect(result.url).toBe('https://my.symphony.com');
|
|
});
|
|
});
|