// Jest Snapshot v1, https://goo.gl/fbAQLP exports[`should create default config 1`] = ` Object { "additionalCspAllowedDomains": Object { "defaultSrc": Array [], "fontSrc": Array [], "imgSrc": Array [], "scriptSrc": Array [], "styleSrc": Array [], }, "authentication": Object { "createAdminUser": true, "customAuthHandler": [Function], "enableApiToken": true, "initApiTokens": Array [], "type": "open-source", }, "clientFeatureCaching": Object { "enabled": true, "maxAge": 600, }, "db": Object { "acquireConnectionTimeout": 30000, "applicationName": "unleash", "database": "unleash_db", "disableMigration": false, "driver": "postgres", "host": "localhost", "password": "password", "pool": Object { "idleTimeoutMillis": 30000, "max": 4, "min": 0, "propagateCreateError": false, }, "port": 4242, "schema": "public", "ssl": Object { "rejectUnauthorized": false, }, "user": "unleash", "version": undefined, }, "disableLegacyFeaturesApi": false, "email": Object { "host": undefined, "port": 587, "secure": false, "sender": "noreply@unleash-hosted.com", "smtppass": undefined, "smtpuser": undefined, }, "enableOAS": false, "enterpriseVersion": undefined, "environmentEnableOverrides": Array [], "eventBus": EventEmitter { "_events": Object {}, "_eventsCount": 0, "_maxListeners": undefined, Symbol(kCapture): false, }, "eventHook": undefined, "experimental": Object { "externalResolver": Object { "isEnabled": [Function], }, "flags": Object { "ENABLE_DARK_MODE_SUPPORT": false, "anonymiseEventLog": false, "batchMetrics": false, "embedProxy": false, }, }, "flagResolver": FlagResolver { "experiments": Object { "ENABLE_DARK_MODE_SUPPORT": false, "anonymiseEventLog": false, "batchMetrics": false, "embedProxy": false, }, "externalResolver": Object { "isEnabled": [Function], }, }, "frontendApiOrigins": Array [], "getLogger": [Function], "import": Object { "dropBeforeImport": false, "file": undefined, "keepExisting": false, }, "inlineSegmentConstraints": true, "listen": Object { "host": undefined, "port": 4242, }, "preHook": undefined, "preRouterHook": undefined, "secureHeaders": false, "segmentValuesLimit": 100, "server": Object { "baseUriPath": "", "cdnPrefix": undefined, "enableRequestLogger": false, "gracefulShutdownEnable": true, "gracefulShutdownTimeout": 1000, "headersTimeout": 61000, "host": undefined, "keepAliveTimeout": 60000, "pipe": undefined, "port": 4242, "secret": "super-secret", "serverMetrics": true, "unleashUrl": "http://localhost:4242", }, "session": Object { "clearSiteDataOnLogout": true, "cookieName": "unleash-session", "db": true, "ttlHours": 48, }, "strategySegmentsLimit": 5, "ui": Object { "flags": Object { "E": true, "ENABLE_DARK_MODE_SUPPORT": false, }, }, "versionCheck": Object { "enable": true, "url": "https://version.unleash.run", }, } `;