forked from finos/SymphonyElectron
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SDA-4472 - Migrate settings from Symphony.config and installVariant t…
…o /Library/Preferences
- Loading branch information
1 parent
8c0fa7b
commit d67d8d5
Showing
7 changed files
with
298 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
import { getAllUserDefaults } from '../src/app/plist-handler'; | ||
|
||
describe('Plist Handler', () => { | ||
it('should return config object', () => { | ||
expect(getAllUserDefaults()).toStrictEqual({ | ||
alwaysOnTop: undefined, | ||
autoLaunchPath: undefined, | ||
autoUpdateChannel: undefined, | ||
autoUpdateCheckInterval: undefined, | ||
autoUpdateUrl: undefined, | ||
betaAutoUpdateChannelEnabled: undefined, | ||
bringToFront: undefined, | ||
browserLoginAutoConnect: undefined, | ||
chromeFlags: { | ||
authNegotiateDelegateWhitelist: undefined, | ||
authServerWhitelist: undefined, | ||
disableThrottling: undefined, | ||
}, | ||
contextIsolation: undefined, | ||
contextOriginUrl: undefined, | ||
ctWhitelist: undefined, | ||
devToolsEnabled: undefined, | ||
disableGpu: undefined, | ||
enableBrowserLogin: undefined, | ||
enableRendererLogs: undefined, | ||
forceAutoUpdate: undefined, | ||
isAutoUpdateEnabled: undefined, | ||
isCustomTitleBar: undefined, | ||
isPodUrlEditable: undefined, | ||
launchOnStartup: undefined, | ||
memoryRefresh: undefined, | ||
memoryThreshold: undefined, | ||
minimizeOnClose: undefined, | ||
notificationSettings: { | ||
display: undefined, | ||
position: undefined, | ||
}, | ||
overrideUserAgent: undefined, | ||
permissions: { | ||
fullscreen: undefined, | ||
geolocation: undefined, | ||
media: undefined, | ||
midiSysex: undefined, | ||
notifications: undefined, | ||
openExternal: undefined, | ||
pointerLock: undefined, | ||
}, | ||
podWhitelist: undefined, | ||
url: undefined, | ||
userDataPath: undefined, | ||
whitelistUrl: undefined, | ||
}); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.