saved layout (#62)

* saved layout

* fix fieldName check
This commit is contained in:
Lynn
2017-04-20 11:54:11 -07:00
committed by GitHub
parent 9785baacc3
commit 439f283916
11 changed files with 413 additions and 113 deletions

15
tests/config.test.js Normal file
View File

@@ -0,0 +1,15 @@
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');
});
});