diff --git a/lib/config/migration.spec.ts b/lib/config/migration.spec.ts index 32482d80fa3820..dfa75a1599f4b6 100644 --- a/lib/config/migration.spec.ts +++ b/lib/config/migration.spec.ts @@ -155,7 +155,7 @@ describe(getName(), () => { }, ], raiseDeprecationWarnings: false, - }; + } as any; const parentConfig = { ...defaultConfig, semanticCommits: 'disabled' }; const { isMigrated, migratedConfig } = configMigration.migrateConfig( config, diff --git a/lib/types/host-rules.ts b/lib/types/host-rules.ts index 27a606a31a15fb..ca71a4c98f8ccb 100644 --- a/lib/types/host-rules.ts +++ b/lib/types/host-rules.ts @@ -1,17 +1,13 @@ export interface HostRule { authType?: string; - endpoint?: string; - host?: string; hostType?: string; domainName?: string; hostName?: string; - json?: true; baseUrl?: string; token?: string; username?: string; password?: string; insecureRegistry?: boolean; - platform?: string; timeout?: number; encrypted?: HostRule; abortOnError?: boolean; diff --git a/lib/util/host-rules.spec.ts b/lib/util/host-rules.spec.ts index 0401b419fd7545..92285980617040 100644 --- a/lib/util/host-rules.spec.ts +++ b/lib/util/host-rules.spec.ts @@ -69,11 +69,11 @@ describe(getName(), () => { }); it('matches on empty rules', () => { add({ - json: true, + enabled: true, }); expect( find({ hostType: datasourceNuget.id, url: 'https://api.github.com' }) - ).toEqual({ json: true }); + ).toEqual({ enabled: true }); }); it('matches on hostType', () => { add({ diff --git a/lib/workers/global/index.spec.ts b/lib/workers/global/index.spec.ts index b0478962eee8db..ef991fc216f0f6 100644 --- a/lib/workers/global/index.spec.ts +++ b/lib/workers/global/index.spec.ts @@ -50,7 +50,7 @@ describe(getName(), () => { hostRules: [ { hostType: datasourceDocker.id, - host: 'docker.io', + domainName: 'docker.io', username: 'some-user', password: 'some-password', }, @@ -70,7 +70,7 @@ describe(getName(), () => { hostRules: [ { hostType: datasourceDocker.id, - host: 'docker.io', + domainName: 'docker.io', username: 'some-user', password: 'some-password', },