diff --git a/lib/config/presets/__snapshots__/index.spec.ts.snap b/lib/config/presets/__snapshots__/index.spec.ts.snap index fa82ef87f41827c79d3c64849c991b994a8f7434..c9a55daf0ea580c5a0df9db24b5a2fb3d023c21e 100644 --- a/lib/config/presets/__snapshots__/index.spec.ts.snap +++ b/lib/config/presets/__snapshots__/index.spec.ts.snap @@ -67,9 +67,21 @@ exports[`config/presets/index getPreset handles preset not found 3`] = `undefine exports[`config/presets/index getPreset handles removed presets with a migration 1`] = ` Object { - "dependencyDashboard": true, - "description": Array [ - "Enable Renovate Dependency Dashboard creation", + "extends": Array [ + ":separateMajorReleases", + ":combinePatchMinorReleases", + ":ignoreUnstable", + ":prImmediately", + ":semanticPrefixFixDepsChoreOthers", + ":updateNotScheduled", + ":automergeDisabled", + ":ignoreModulesAndTests", + ":autodetectPinVersions", + ":prHourlyLimit2", + ":prConcurrentLimit20", + "group:monorepos", + "group:recommended", + "workarounds:all", ], } `; diff --git a/lib/config/presets/index.spec.ts b/lib/config/presets/index.spec.ts index 763cf30f19335e4d8b6c463ab39db24d9e8bde1c..a2ec42688619f83f097ea0c4620329bc1ec2049d 100644 --- a/lib/config/presets/index.spec.ts +++ b/lib/config/presets/index.spec.ts @@ -394,7 +394,7 @@ describe(getName(), () => { }); describe('getPreset', () => { it('handles removed presets with a migration', async () => { - const res = await presets.getPreset(':masterIssue', {}); + const res = await presets.getPreset(':base', {}); expect(res).toMatchSnapshot(); }); it('handles removed presets with no migration', async () => { diff --git a/lib/workers/repository/__snapshots__/dependency-dashboard.spec.ts.snap b/lib/workers/repository/__snapshots__/dependency-dashboard.spec.ts.snap index 03aae83ed10094dcbd7806109cc3dea153163855..962b103f8e7dc0cfaf836835f0a237b357520684 100644 --- a/lib/workers/repository/__snapshots__/dependency-dashboard.spec.ts.snap +++ b/lib/workers/repository/__snapshots__/dependency-dashboard.spec.ts.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`workers/repository/dependency-dashboard ensureMasterIssue() contains logged problems 1`] = ` +exports[`workers/repository/dependency-dashboard ensureDependencyDashboard() contains logged problems 1`] = ` "This issue contains a list of Renovate updates and their statuses. ## Repository problems @@ -22,7 +22,7 @@ These updates await pending status checks. To force their creation now, check th " `; -exports[`workers/repository/dependency-dashboard ensureMasterIssue() open or update Dependency Dashboard when all branches are closed and dependencyDashboardAutoclose is false 1`] = ` +exports[`workers/repository/dependency-dashboard ensureDependencyDashboard() open or update Dependency Dashboard when all branches are closed and dependencyDashboardAutoclose is false 1`] = ` "This issue contains a list of Renovate updates and their statuses. This repository currently has no open or pending branches. @@ -32,7 +32,7 @@ And this is a footer " `; -exports[`workers/repository/dependency-dashboard ensureMasterIssue() open or update Dependency Dashboard when rules contain approvals 1`] = ` +exports[`workers/repository/dependency-dashboard ensureDependencyDashboard() open or update Dependency Dashboard when rules contain approvals 1`] = ` "This issue contains a list of Renovate updates and their statuses. This repository currently has no open or pending branches. diff --git a/lib/workers/repository/dependency-dashboard.spec.ts b/lib/workers/repository/dependency-dashboard.spec.ts index 08b611995b2a667819603d098c85bd8c6e3ae3b5..071dab9cc34953a4841371eb980f55137f13fd21 100644 --- a/lib/workers/repository/dependency-dashboard.spec.ts +++ b/lib/workers/repository/dependency-dashboard.spec.ts @@ -42,11 +42,11 @@ async function dryRun( } describe(getName(), () => { - describe('ensureMasterIssue()', () => { + describe('ensureDependencyDashboard()', () => { beforeEach(() => { setAdminConfig(); }); - it('do nothing if masterissue is disable', async () => { + it('do nothing if dependencyDashboard is disabled', async () => { const branches: BranchConfig[] = []; await dependencyDashboard.ensureDependencyDashboard(config, branches); expect(platform.ensureIssueClosing).toHaveBeenCalledTimes(0); @@ -56,7 +56,7 @@ describe(getName(), () => { await dryRun(branches, platform); }); - it('do nothing if it has no masterissueapproval branches', async () => { + it('do nothing if it has no dependencyDashboardApproval branches', async () => { const branches = [ { ...mock<BranchConfig>(),