// Jest Snapshot v1, https://goo.gl/fbAQLP exports[`should create default config 1`] = ` { "accessControlMaxAge": 86400, "additionalCspAllowedDomains": { "connectSrc": [], "defaultSrc": [], "fontSrc": [], "imgSrc": [], "scriptSrc": [], "styleSrc": [], }, "authentication": { "createAdminUser": true, "customAuthHandler": [Function], "enableApiToken": true, "initApiTokens": [], "type": "open-source", }, "clientFeatureCaching": { "enabled": true, "maxAge": 3600000, }, "db": { "acquireConnectionTimeout": 30000, "applicationName": "unleash", "database": "unleash_db", "disableMigration": false, "driver": "postgres", "host": "localhost", "password": "password", "pool": { "idleTimeoutMillis": 30000, "max": 4, "min": 0, "propagateCreateError": false, }, "port": 4242, "schema": "public", "ssl": { "rejectUnauthorized": false, }, "user": "unleash", "version": undefined, }, "email": { "host": undefined, "port": 587, "secure": false, "sender": "noreply@getunleash.io", "smtppass": undefined, "smtpuser": undefined, }, "enableOAS": true, "enterpriseVersion": undefined, "environmentEnableOverrides": [], "eventBus": EventEmitter { "_events": {}, "_eventsCount": 0, "_maxListeners": undefined, Symbol(kCapture): false, }, "experimental": { "externalResolver": { "getVariant": [Function], "isEnabled": [Function], }, "flags": { "anonymiseEventLog": false, "caseInsensitiveInOperators": false, "changeRequestReject": false, "configurableFeatureTypeLifetimes": false, "customRootRolesKillSwitch": false, "demo": false, "disableBulkToggle": false, "disableNotifications": false, "embedProxy": true, "embedProxyFrontend": true, "emitPotentiallyStaleEvents": false, "featuresExportImport": true, "filterInvalidClientMetrics": false, "frontendNavigationUpdate": false, "googleAuthEnabled": false, "lastSeenByEnvironment": false, "maintenanceMode": false, "messageBanner": { "enabled": false, "name": "message-banner", "payload": { "type": "json", "value": "", }, }, "migrationLock": false, "newProjectLayout": false, "personalAccessTokensKillSwitch": false, "proPlanAutoCharge": false, "responseTimeWithAppNameKillSwitch": false, "segmentChangeRequests": false, "slackAppAddon": false, "strategyVariant": false, "strictSchemaValidation": false, }, }, "flagResolver": FlagResolver { "experiments": { "anonymiseEventLog": false, "caseInsensitiveInOperators": false, "changeRequestReject": false, "configurableFeatureTypeLifetimes": false, "customRootRolesKillSwitch": false, "demo": false, "disableBulkToggle": false, "disableNotifications": false, "embedProxy": true, "embedProxyFrontend": true, "emitPotentiallyStaleEvents": false, "featuresExportImport": true, "filterInvalidClientMetrics": false, "frontendNavigationUpdate": false, "googleAuthEnabled": false, "lastSeenByEnvironment": false, "maintenanceMode": false, "messageBanner": { "enabled": false, "name": "message-banner", "payload": { "type": "json", "value": "", }, }, "migrationLock": false, "newProjectLayout": false, "personalAccessTokensKillSwitch": false, "proPlanAutoCharge": false, "responseTimeWithAppNameKillSwitch": false, "segmentChangeRequests": false, "slackAppAddon": false, "strategyVariant": false, "strictSchemaValidation": false, }, "externalResolver": { "getVariant": [Function], "isEnabled": [Function], }, }, "frontendApi": { "refreshIntervalInMs": 20000, }, "frontendApiOrigins": [ "*", ], "getLogger": [Function], "import": { "dropBeforeImport": false, "file": undefined, "keepExisting": false, }, "inlineSegmentConstraints": true, "listen": { "host": undefined, "port": 4242, }, "preHook": undefined, "preRouterHook": undefined, "prometheusApi": undefined, "publicFolder": undefined, "secureHeaders": false, "segmentValuesLimit": 1000, "server": { "baseUriPath": "", "cdnPrefix": undefined, "enableHeapSnapshotEnpoint": false, "enableRequestLogger": false, "gracefulShutdownEnable": true, "gracefulShutdownTimeout": 1000, "headersTimeout": 61000, "host": undefined, "keepAliveTimeout": 15000, "pipe": undefined, "port": 4242, "secret": "super-secret", "serverMetrics": true, "unleashUrl": "http://localhost:4242", }, "session": { "clearSiteDataOnLogout": true, "cookieName": "unleash-session", "db": true, "ttlHours": 48, }, "strategySegmentsLimit": 5, "telemetry": true, "ui": { "environment": "Open Source", }, "versionCheck": { "enable": true, "url": "https://version.unleash.run", }, } `;