mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
Electron-66 (Unit tests) (#120)
* Electron-66 - Added more unit tests for config, getRegistry & throttle * Electron-66 - Added some more unit tests and enabled activity detection unit test
This commit is contained in:
@@ -95,5 +95,6 @@ module.exports = {
|
||||
send: send,
|
||||
setActivityWindow: setActivityWindow,
|
||||
activityDetection: activityDetection,
|
||||
monitorUserActivity: monitorUserActivity, // Exporting this for unit test
|
||||
initiateActivityDetection: initiateActivityDetection
|
||||
};
|
||||
|
||||
@@ -164,4 +164,9 @@ function saveUserConfig(fieldName, newValue, oldConfig) {
|
||||
});
|
||||
}
|
||||
|
||||
module.exports = { getConfigField, updateConfigField, configFileName };
|
||||
module.exports = {
|
||||
getConfigField,
|
||||
updateConfigField,
|
||||
configFileName,
|
||||
saveUserConfig // Exporting this for unit tests
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user