diff --git a/packages/@n8n/config/test/config.test.ts b/packages/@n8n/config/test/config.test.ts index e0c41af64e..491906b675 100644 --- a/packages/@n8n/config/test/config.test.ts +++ b/packages/@n8n/config/test/config.test.ts @@ -56,7 +56,6 @@ describe('GlobalConfig', () => { tablePrefix: '', type: 'sqlite', }, - credentials: { defaultName: 'My credentials', overwrite: { @@ -88,6 +87,33 @@ describe('GlobalConfig', () => { }, }, }, + eventBus: { + checkUnsentInterval: 0, + crashRecoveryMode: 'extensive', + logWriter: { + keepLogCount: 3, + logBaseName: 'n8nEventLog', + maxFileSizeInKB: 10240, + }, + }, + externalSecrets: { + preferGet: false, + updateInterval: 300, + }, + publicApi: { + disabled: false, + path: 'api', + swaggerUiDisabled: false, + }, + templates: { + enabled: true, + host: 'https://api.n8n.io/api/', + }, + versionNotifications: { + enabled: true, + endpoint: 'https://api.n8n.io/api/versions/', + infoUrl: 'https://docs.n8n.io/hosting/installation/updating/', + }, }; it('should use all default values when no env variables are defined', () => { diff --git a/turbo.json b/turbo.json index ec9ee58c68..0da2b6e54d 100644 --- a/turbo.json +++ b/turbo.json @@ -24,6 +24,7 @@ "format": {}, "lint:backend": { "dependsOn": [ + "@n8n/config#lint", "@n8n/client-oauth2#lint", "@n8n/imap#lint", "@n8n/permissions#lint", @@ -50,6 +51,7 @@ "lintfix": {}, "test:backend": { "dependsOn": [ + "@n8n/config#test", "@n8n/client-oauth2#test", "@n8n/imap#test", "@n8n/permissions#test",