mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-11-25 02:10:32 -06:00
db0d878747
SDA-4476 - Add installVariant to defaults
SDA-4476 - Initialize plist file
Revert "Revert "SDA-4472 (Migrate Symphony.config & installVariant into /Library/Preference) (#2090)" (#2094)"
This reverts commit 0aeee5b7a3
.
55 lines
1.6 KiB
TypeScript
55 lines
1.6 KiB
TypeScript
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,
|
|
});
|
|
});
|
|
});
|