diff --git a/lib/config/presets/bitbucket-server/__snapshots__/index.spec.ts.snap b/lib/config/presets/bitbucket-server/__snapshots__/index.spec.ts.snap
deleted file mode 100644
index c76919ded3ccba16a987edcc27bfa3ba25ce6a1c..0000000000000000000000000000000000000000
--- a/lib/config/presets/bitbucket-server/__snapshots__/index.spec.ts.snap
+++ /dev/null
@@ -1,120 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`config/presets/bitbucket-server/index fetchJSONFile() handles branches/tags 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer abc",
-      "host": "git.company.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://git.company.org/rest/api/1.0/projects/some/repos/repo/browse/some-filename.json?limit=20000&at=feature%2Fbranch",
-  },
-]
-`;
-
-exports[`config/presets/bitbucket-server/index fetchJSONFile() returns JSON 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer abc",
-      "host": "git.company.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://git.company.org/rest/api/1.0/projects/some/repos/repo/browse/some-filename.json?limit=20000",
-  },
-]
-`;
-
-exports[`config/presets/bitbucket-server/index fetchJSONFile() throws 404 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer abc",
-      "host": "git.company.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://git.company.org/rest/api/1.0/projects/some/repos/repo/browse/some-filename.json?limit=20000",
-  },
-]
-`;
-
-exports[`config/presets/bitbucket-server/index fetchJSONFile() throws to big 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer abc",
-      "host": "git.company.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://git.company.org/rest/api/1.0/projects/some/repos/repo/browse/some-filename.json?limit=20000",
-  },
-]
-`;
-
-exports[`config/presets/bitbucket-server/index fetchJSONFile() throws to invalid 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer abc",
-      "host": "git.company.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://git.company.org/rest/api/1.0/projects/some/repos/repo/browse/some-filename.json?limit=20000",
-  },
-]
-`;
-
-exports[`config/presets/bitbucket-server/index getPresetFromEndpoint() uses custom endpoint 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer abc",
-      "host": "api.github.example.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://api.github.example.org/rest/api/1.0/projects/some/repos/repo/browse/default.json?limit=20000",
-  },
-]
-`;
-
-exports[`config/presets/bitbucket-server/index getPresetFromEndpoint() uses custom path 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer abc",
-      "host": "api.github.example.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://api.github.example.org/rest/api/1.0/projects/some/repos/repo/browse/path/default.json?limit=20000",
-  },
-]
-`;
diff --git a/lib/config/presets/bitbucket-server/index.spec.ts b/lib/config/presets/bitbucket-server/index.spec.ts
index ba5e6d0c02f74ee559aba0dfc2567c8b1e3aee96..37cf4d02c7be23597dfca99466fba894b063144e 100644
--- a/lib/config/presets/bitbucket-server/index.spec.ts
+++ b/lib/config/presets/bitbucket-server/index.spec.ts
@@ -33,7 +33,6 @@ describe('config/presets/bitbucket-server/index', () => {
         bitbucketApiHost
       );
       expect(res).toEqual({ from: 'api' });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('handles branches/tags', async () => {
@@ -53,7 +52,6 @@ describe('config/presets/bitbucket-server/index', () => {
         'feature/branch'
       );
       expect(res).toEqual({ from: 'api' });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('throws 404', async () => {
@@ -70,7 +68,6 @@ describe('config/presets/bitbucket-server/index', () => {
           bitbucketApiHost
         )
       ).rejects.toThrow(PRESET_DEP_NOT_FOUND);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('throws to big', async () => {
@@ -91,7 +88,6 @@ describe('config/presets/bitbucket-server/index', () => {
           bitbucketApiHost
         )
       ).rejects.toThrow(PRESET_INVALID_JSON);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('throws to invalid', async () => {
@@ -111,7 +107,6 @@ describe('config/presets/bitbucket-server/index', () => {
           bitbucketApiHost
         )
       ).rejects.toThrow(PRESET_INVALID_JSON);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 
@@ -133,7 +128,6 @@ describe('config/presets/bitbucket-server/index', () => {
           'https://api.github.example.org'
         )
       ).toEqual({ from: 'api' });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('uses custom path', async () => {
       httpMock
@@ -152,7 +146,6 @@ describe('config/presets/bitbucket-server/index', () => {
           'https://api.github.example.org'
         )
       ).toEqual({ from: 'api' });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 });
diff --git a/lib/config/presets/bitbucket/__snapshots__/index.spec.ts.snap b/lib/config/presets/bitbucket/__snapshots__/index.spec.ts.snap
deleted file mode 100644
index 9d52002cd7fb403e0eb940679ba2d92778fa56a6..0000000000000000000000000000000000000000
--- a/lib/config/presets/bitbucket/__snapshots__/index.spec.ts.snap
+++ /dev/null
@@ -1,43 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`config/presets/bitbucket/index fetchJSONFile() returns JSON 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/src/HEAD/some-filename.json",
-  },
-]
-`;
-
-exports[`config/presets/bitbucket/index fetchJSONFile() throws on error 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/src/HEAD/some-filename.json",
-  },
-]
-`;
-
-exports[`config/presets/bitbucket/index fetchJSONFile() throws on invalid json 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/src/HEAD/some-filename.json",
-  },
-]
-`;
diff --git a/lib/config/presets/bitbucket/index.spec.ts b/lib/config/presets/bitbucket/index.spec.ts
index 42244149cfdd606651c89524b5a89a7914c7f46e..3753bac6ec25818417f336159219d1247b443d40 100644
--- a/lib/config/presets/bitbucket/index.spec.ts
+++ b/lib/config/presets/bitbucket/index.spec.ts
@@ -26,7 +26,6 @@ describe('config/presets/bitbucket/index', () => {
         'some-filename.json'
       );
       expect(res).toEqual(data);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('throws on error', async () => {
@@ -34,7 +33,6 @@ describe('config/presets/bitbucket/index', () => {
       await expect(
         bitbucket.fetchJSONFile('some/repo', 'some-filename.json')
       ).rejects.toThrow(PRESET_DEP_NOT_FOUND);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('throws on invalid json', async () => {
@@ -45,7 +43,6 @@ describe('config/presets/bitbucket/index', () => {
       await expect(
         bitbucket.fetchJSONFile('some/repo', 'some-filename.json')
       ).rejects.toThrow(PRESET_INVALID_JSON);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 
diff --git a/lib/config/presets/gitea/__snapshots__/index.spec.ts.snap b/lib/config/presets/gitea/__snapshots__/index.spec.ts.snap
deleted file mode 100644
index 2459bdead50b7f154f65db0ba13d4ddfd1bd079e..0000000000000000000000000000000000000000
--- a/lib/config/presets/gitea/__snapshots__/index.spec.ts.snap
+++ /dev/null
@@ -1,236 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`config/presets/gitea/index fetchJSONFile() returns JSON 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "gitea.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.com/api/v1/repos/some/repo/contents/some-filename.json?",
-  },
-]
-`;
-
-exports[`config/presets/gitea/index getPreset() should query custom paths 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "gitea.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.com/api/v1/repos/some/repo/contents/path%2Fcustom.json?",
-  },
-]
-`;
-
-exports[`config/presets/gitea/index getPreset() should query preset within the file 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "gitea.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.com/api/v1/repos/some/repo/contents/somefile.json?",
-  },
-]
-`;
-
-exports[`config/presets/gitea/index getPreset() should query subpreset 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "gitea.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.com/api/v1/repos/some/repo/contents/somefile.json?",
-  },
-]
-`;
-
-exports[`config/presets/gitea/index getPreset() should return custom.json 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "gitea.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.com/api/v1/repos/some/repo/contents/custom.json?",
-  },
-]
-`;
-
-exports[`config/presets/gitea/index getPreset() should return default.json 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "gitea.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.com/api/v1/repos/some/repo/contents/default.json?",
-  },
-]
-`;
-
-exports[`config/presets/gitea/index getPreset() should throws not-found 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "gitea.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.com/api/v1/repos/some/repo/contents/somefile.json?",
-  },
-]
-`;
-
-exports[`config/presets/gitea/index getPreset() throws if fails to parse 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "gitea.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.com/api/v1/repos/some/repo/contents/default.json?",
-  },
-]
-`;
-
-exports[`config/presets/gitea/index getPreset() throws if no content 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "gitea.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.com/api/v1/repos/some/repo/contents/default.json?",
-  },
-]
-`;
-
-exports[`config/presets/gitea/index getPreset() tries default then renovate 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "gitea.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.com/api/v1/repos/some/repo/contents/default.json?",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "gitea.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.com/api/v1/repos/some/repo/contents/renovate.json?",
-  },
-]
-`;
-
-exports[`config/presets/gitea/index getPresetFromEndpoint() uses custom endpoint 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "api.gitea.example.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.gitea.example.org/repos/some/repo/contents/default.json?",
-  },
-]
-`;
-
-exports[`config/presets/gitea/index getPresetFromEndpoint() uses custom endpoint with a tag 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "api.gitea.example.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.gitea.example.org/repos/some/repo/contents/default.json?ref=someTag",
-  },
-]
-`;
-
-exports[`config/presets/gitea/index getPresetFromEndpoint() uses default endpoint 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "gitea.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.com/api/v1/repos/some/repo/contents/default.json?",
-  },
-]
-`;
-
-exports[`config/presets/gitea/index getPresetFromEndpoint() uses default endpoint with a tag 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "gitea.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.com/api/v1/repos/some/repo/contents/default.json?ref=someTag",
-  },
-]
-`;
diff --git a/lib/config/presets/gitea/index.spec.ts b/lib/config/presets/gitea/index.spec.ts
index 7aa5e45c6659f0070f5ea262e5af1548c06d4be0..10b7a4e5e4627bec0bdc048fe3f6087a31e5c105 100644
--- a/lib/config/presets/gitea/index.spec.ts
+++ b/lib/config/presets/gitea/index.spec.ts
@@ -35,7 +35,6 @@ describe('config/presets/gitea/index', () => {
         null
       );
       expect(res).toEqual({ from: 'api' });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 
@@ -49,7 +48,6 @@ describe('config/presets/gitea/index', () => {
         .reply(200, {});
 
       await expect(gitea.getPreset({ repo: 'some/repo' })).rejects.toThrow();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('throws if no content', async () => {
@@ -61,7 +59,6 @@ describe('config/presets/gitea/index', () => {
       await expect(gitea.getPreset({ repo: 'some/repo' })).rejects.toThrow(
         PRESET_INVALID_JSON
       );
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('throws if fails to parse', async () => {
@@ -75,7 +72,6 @@ describe('config/presets/gitea/index', () => {
       await expect(gitea.getPreset({ repo: 'some/repo' })).rejects.toThrow(
         PRESET_INVALID_JSON
       );
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('should return default.json', async () => {
@@ -88,7 +84,6 @@ describe('config/presets/gitea/index', () => {
 
       const content = await gitea.getPreset({ repo: 'some/repo' });
       expect(content).toEqual({ foo: 'bar' });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('should query preset within the file', async () => {
@@ -103,7 +98,6 @@ describe('config/presets/gitea/index', () => {
         presetName: 'somefile/somename',
       });
       expect(content).toEqual({ foo: 'bar' });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('should query subpreset', async () => {
@@ -121,7 +115,6 @@ describe('config/presets/gitea/index', () => {
         presetName: 'somefile/somename/somesubname',
       });
       expect(content).toEqual({ foo: 'bar' });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('should return custom.json', async () => {
@@ -136,7 +129,6 @@ describe('config/presets/gitea/index', () => {
         presetName: 'custom',
       });
       expect(content).toEqual({ foo: 'bar' });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('should query custom paths', async () => {
@@ -152,7 +144,6 @@ describe('config/presets/gitea/index', () => {
         presetPath: 'path',
       });
       expect(content).toEqual({ foo: 'bar' });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('should throws not-found', async () => {
@@ -168,7 +159,6 @@ describe('config/presets/gitea/index', () => {
           presetName: 'somefile/somename/somesubname',
         })
       ).rejects.toThrow(PRESET_NOT_FOUND);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 
@@ -183,7 +173,6 @@ describe('config/presets/gitea/index', () => {
       expect(
         await gitea.getPresetFromEndpoint('some/repo', 'default', undefined)
       ).toEqual({ from: 'api' });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('uses custom endpoint', async () => {
@@ -203,7 +192,6 @@ describe('config/presets/gitea/index', () => {
           )
           .catch(() => ({ from: 'api' }))
       ).toEqual({ from: 'api' });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('uses default endpoint with a tag', async () => {
@@ -222,7 +210,6 @@ describe('config/presets/gitea/index', () => {
           'someTag'
         )
       ).toEqual({ from: 'api' });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('uses custom endpoint with a tag', async () => {
       httpMock
@@ -242,7 +229,6 @@ describe('config/presets/gitea/index', () => {
           )
           .catch(() => ({ from: 'api' }))
       ).toEqual({ from: 'api' });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 });
diff --git a/lib/config/presets/github/__snapshots__/index.spec.ts.snap b/lib/config/presets/github/__snapshots__/index.spec.ts.snap
deleted file mode 100644
index 695c885933737847cce4878dcde9996ffb76d86e..0000000000000000000000000000000000000000
--- a/lib/config/presets/github/__snapshots__/index.spec.ts.snap
+++ /dev/null
@@ -1,236 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`config/presets/github/index fetchJSONFile() returns JSON 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/contents/some-filename.json",
-  },
-]
-`;
-
-exports[`config/presets/github/index getPreset() should query custom paths 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/contents/path/custom.json",
-  },
-]
-`;
-
-exports[`config/presets/github/index getPreset() should query preset within the file 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/contents/somefile.json",
-  },
-]
-`;
-
-exports[`config/presets/github/index getPreset() should query subpreset 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/contents/somefile.json",
-  },
-]
-`;
-
-exports[`config/presets/github/index getPreset() should return custom.json 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/contents/custom.json",
-  },
-]
-`;
-
-exports[`config/presets/github/index getPreset() should return default.json 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/contents/default.json",
-  },
-]
-`;
-
-exports[`config/presets/github/index getPreset() should throws not-found 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/contents/somefile.json",
-  },
-]
-`;
-
-exports[`config/presets/github/index getPreset() throws if fails to parse 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/contents/default.json",
-  },
-]
-`;
-
-exports[`config/presets/github/index getPreset() throws if no content 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/contents/default.json",
-  },
-]
-`;
-
-exports[`config/presets/github/index getPreset() tries default then renovate 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/contents/default.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/contents/renovate.json",
-  },
-]
-`;
-
-exports[`config/presets/github/index getPresetFromEndpoint() uses custom endpoint 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "api.github.example.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.example.org/repos/some/repo/contents/default.json",
-  },
-]
-`;
-
-exports[`config/presets/github/index getPresetFromEndpoint() uses custom endpoint with a tag 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "api.github.example.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.example.org/repos/some/repo/contents/default.json?ref=someTag",
-  },
-]
-`;
-
-exports[`config/presets/github/index getPresetFromEndpoint() uses default endpoint 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/contents/default.json",
-  },
-]
-`;
-
-exports[`config/presets/github/index getPresetFromEndpoint() uses default endpoint with a tag 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/contents/default.json?ref=someTag",
-  },
-]
-`;
diff --git a/lib/config/presets/github/index.spec.ts b/lib/config/presets/github/index.spec.ts
index 5a21fd3d31688a42229b0f71c49c30bac1e877c3..222a61db0e48d88678c152c76f1feff6174c9da1 100644
--- a/lib/config/presets/github/index.spec.ts
+++ b/lib/config/presets/github/index.spec.ts
@@ -33,7 +33,6 @@ describe('config/presets/github/index', () => {
         undefined
       );
       expect(res).toEqual({ from: 'api' });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 
@@ -47,7 +46,6 @@ describe('config/presets/github/index', () => {
         .reply(200, {});
 
       await expect(github.getPreset({ repo: 'some/repo' })).rejects.toThrow();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('throws if no content', async () => {
@@ -59,7 +57,6 @@ describe('config/presets/github/index', () => {
       await expect(github.getPreset({ repo: 'some/repo' })).rejects.toThrow(
         PRESET_INVALID_JSON
       );
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('throws if fails to parse', async () => {
@@ -73,7 +70,6 @@ describe('config/presets/github/index', () => {
       await expect(github.getPreset({ repo: 'some/repo' })).rejects.toThrow(
         PRESET_INVALID_JSON
       );
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('should return default.json', async () => {
@@ -86,7 +82,6 @@ describe('config/presets/github/index', () => {
 
       const content = await github.getPreset({ repo: 'some/repo' });
       expect(content).toEqual({ foo: 'bar' });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('should query preset within the file', async () => {
@@ -101,7 +96,6 @@ describe('config/presets/github/index', () => {
         presetName: 'somefile/somename',
       });
       expect(content).toEqual({ foo: 'bar' });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('should query subpreset', async () => {
@@ -119,7 +113,6 @@ describe('config/presets/github/index', () => {
         presetName: 'somefile/somename/somesubname',
       });
       expect(content).toEqual({ foo: 'bar' });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('should return custom.json', async () => {
@@ -134,7 +127,6 @@ describe('config/presets/github/index', () => {
         presetName: 'custom',
       });
       expect(content).toEqual({ foo: 'bar' });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('should query custom paths', async () => {
@@ -150,7 +142,6 @@ describe('config/presets/github/index', () => {
         presetPath: 'path',
       });
       expect(content).toEqual({ foo: 'bar' });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('should throws not-found', async () => {
@@ -166,7 +157,6 @@ describe('config/presets/github/index', () => {
           presetName: 'somefile/somename/somesubname',
         })
       ).rejects.toThrow(PRESET_NOT_FOUND);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 
@@ -181,7 +171,6 @@ describe('config/presets/github/index', () => {
       expect(
         await github.getPresetFromEndpoint('some/repo', 'default', undefined)
       ).toEqual({ from: 'api' });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('uses custom endpoint', async () => {
@@ -202,7 +191,6 @@ describe('config/presets/github/index', () => {
           )
           .catch(() => ({ from: 'api' }))
       ).toEqual({ from: 'api' });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('uses default endpoint with a tag', async () => {
@@ -221,7 +209,6 @@ describe('config/presets/github/index', () => {
           'someTag'
         )
       ).toEqual({ from: 'api' });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('uses custom endpoint with a tag', async () => {
@@ -242,7 +229,6 @@ describe('config/presets/github/index', () => {
           )
           .catch(() => ({ from: 'api' }))
       ).toEqual({ from: 'api' });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 });
diff --git a/lib/config/presets/gitlab/__snapshots__/index.spec.ts.snap b/lib/config/presets/gitlab/__snapshots__/index.spec.ts.snap
deleted file mode 100644
index cdd63e345cdad79a66a4282dc553ec19c589ac57..0000000000000000000000000000000000000000
--- a/lib/config/presets/gitlab/__snapshots__/index.spec.ts.snap
+++ /dev/null
@@ -1,206 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`config/presets/gitlab/index getPreset() should query custom paths 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo/repository/branches",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo/repository/files/path%2Fcustom.json/raw?ref=master",
-  },
-]
-`;
-
-exports[`config/presets/gitlab/index getPreset() should return the preset 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo/repository/branches",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo/repository/files/default.json/raw?ref=master",
-  },
-]
-`;
-
-exports[`config/presets/gitlab/index getPreset() should return the preset with a tag 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo/repository/files/default.json/raw?ref=someTag",
-  },
-]
-`;
-
-exports[`config/presets/gitlab/index getPreset() throws EXTERNAL_HOST_ERROR 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo/repository/branches",
-  },
-]
-`;
-
-exports[`config/presets/gitlab/index getPreset() throws if missing 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo/repository/branches",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo/repository/files/default.json/raw?ref=master",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo/repository/branches",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo/repository/files/renovate.json/raw?ref=master",
-  },
-]
-`;
-
-exports[`config/presets/gitlab/index getPresetFromEndpoint() uses custom endpoint 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitlab.example.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.example.org/api/v4/projects/some%2Frepo/repository/branches",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitlab.example.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.example.org/api/v4/projects/some%2Frepo/repository/files/some.json/raw?ref=devel",
-  },
-]
-`;
-
-exports[`config/presets/gitlab/index getPresetFromEndpoint() uses custom endpoint with a tag 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitlab.example.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.example.org/api/v4/projects/some%2Frepo/repository/files/some.json/raw?ref=someTag",
-  },
-]
-`;
-
-exports[`config/presets/gitlab/index getPresetFromEndpoint() uses default endpoint 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo/repository/branches",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo/repository/files/some.json/raw?ref=devel",
-  },
-]
-`;
-
-exports[`config/presets/gitlab/index getPresetFromEndpoint() uses default endpoint with a tag 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo/repository/files/some.json/raw?ref=someTag",
-  },
-]
-`;
diff --git a/lib/config/presets/gitlab/index.spec.ts b/lib/config/presets/gitlab/index.spec.ts
index 527242faa4aacaa222628fec4337dd951a16d200..cd4c65f85fa9e9420ee41f0b9ecf5447445d4c6e 100644
--- a/lib/config/presets/gitlab/index.spec.ts
+++ b/lib/config/presets/gitlab/index.spec.ts
@@ -20,7 +20,6 @@ describe('config/presets/gitlab/index', () => {
           presetName: 'non-default',
         })
       ).rejects.toThrow(EXTERNAL_HOST_ERROR);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('throws if missing', async () => {
@@ -36,7 +35,6 @@ describe('config/presets/gitlab/index', () => {
       await expect(gitlab.getPreset({ repo: 'some/repo' })).rejects.toThrow(
         PRESET_DEP_NOT_FOUND
       );
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('should return the preset', async () => {
@@ -57,7 +55,6 @@ describe('config/presets/gitlab/index', () => {
 
       const content = await gitlab.getPreset({ repo: 'some/repo' });
       expect(content).toEqual({ foo: 'bar' });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('should return the preset with a tag', async () => {
@@ -71,7 +68,6 @@ describe('config/presets/gitlab/index', () => {
         tag: 'someTag',
       });
       expect(content).toEqual({ foo: 'bar' });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('should query custom paths', async () => {
@@ -96,7 +92,6 @@ describe('config/presets/gitlab/index', () => {
         presetName: 'custom',
       });
       expect(content).toEqual({ foo: 'bar' });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 
@@ -120,7 +115,6 @@ describe('config/presets/gitlab/index', () => {
           undefined
         )
       ).toEqual({});
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('uses custom endpoint', async () => {
@@ -143,7 +137,6 @@ describe('config/presets/gitlab/index', () => {
           'https://gitlab.example.org/api/v4'
         )
       ).rejects.toThrow(PRESET_DEP_NOT_FOUND);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('uses default endpoint with a tag', async () => {
@@ -160,7 +153,6 @@ describe('config/presets/gitlab/index', () => {
           'someTag'
         )
       ).toEqual({});
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('uses custom endpoint with a tag', async () => {
@@ -177,7 +169,6 @@ describe('config/presets/gitlab/index', () => {
           'someTag'
         )
       ).toEqual({});
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 });
diff --git a/lib/logger/__snapshots__/err-serializer.spec.ts.snap b/lib/logger/__snapshots__/err-serializer.spec.ts.snap
index 3dd9cc3211e6c7811c1727059be495165d746099..2c9fa5a88cec101017bf87afe14981528cee293c 100644
--- a/lib/logger/__snapshots__/err-serializer.spec.ts.snap
+++ b/lib/logger/__snapshots__/err-serializer.spec.ts.snap
@@ -1,38 +1,6 @@
 // Jest Snapshot v1, https://goo.gl/fbAQLP
 
-exports[`logger/err-serializer got handles http error 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic OnRva2Vu",
-      "host": "github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://:token@github.com/api",
-  },
-]
-`;
-
 exports[`logger/err-serializer got sanitize http error 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic OnRva2Vu",
-      "host": "github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://:token@github.com/api",
-  },
-]
-`;
-
-exports[`logger/err-serializer got sanitize http error 2`] = `
 Object {
   "code": "ERR_NON_2XX_3XX_RESPONSE",
   "message": "Response code 412 (Precondition Failed)",
diff --git a/lib/logger/err-serializer.spec.ts b/lib/logger/err-serializer.spec.ts
index df42167ff4e3cd47b2d49c70675c825e02e5ee06..e737e8c61112e75ecddfb4b8b69a566f3a1f8742 100644
--- a/lib/logger/err-serializer.spec.ts
+++ b/lib/logger/err-serializer.spec.ts
@@ -76,7 +76,6 @@ describe('logger/err-serializer', () => {
         err = errSerializer(error);
       }
 
-      expect(httpMock.getTrace()).toMatchSnapshot();
       expect(err).toBeDefined();
       expect(err.response.body).toBeDefined();
       expect(err.options).toBeDefined();
@@ -94,7 +93,6 @@ describe('logger/err-serializer', () => {
         err = error;
       }
 
-      expect(httpMock.getTrace()).toMatchSnapshot();
       expect(err).toBeDefined();
 
       // remove platform related props
diff --git a/lib/modules/datasource/bitbucket-tags/__snapshots__/index.spec.ts.snap b/lib/modules/datasource/bitbucket-tags/__snapshots__/index.spec.ts.snap
index e2d7e7623461f6b3c214e4825486ae554e722e99..90d366a85b7544b7439202a278a18f81030f2af5 100644
--- a/lib/modules/datasource/bitbucket-tags/__snapshots__/index.spec.ts.snap
+++ b/lib/modules/datasource/bitbucket-tags/__snapshots__/index.spec.ts.snap
@@ -2,58 +2,6 @@
 
 exports[`modules/datasource/bitbucket-tags/index getDigest returns commits from bitbucket cloud 1`] = `"123"`;
 
-exports[`modules/datasource/bitbucket-tags/index getDigest returns commits from bitbucket cloud 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/dep2",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/dep2/commits/master",
-  },
-]
-`;
-
-exports[`modules/datasource/bitbucket-tags/index getDigest with no commits returns commits from bitbucket cloud 1`] = `null`;
-
-exports[`modules/datasource/bitbucket-tags/index getDigest with no commits returns commits from bitbucket cloud 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/dep2",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/dep2/commits/master",
-  },
-]
-`;
-
 exports[`modules/datasource/bitbucket-tags/index getReleases returns tags from bitbucket cloud 1`] = `
 Object {
   "registryUrl": "https://bitbucket.org",
@@ -76,34 +24,4 @@ Object {
 }
 `;
 
-exports[`modules/datasource/bitbucket-tags/index getReleases returns tags from bitbucket cloud 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/dep2/refs/tags?pagelen=100",
-  },
-]
-`;
-
 exports[`modules/datasource/bitbucket-tags/index getTagCommit returns tags commit hash from bitbucket cloud 1`] = `"123"`;
-
-exports[`modules/datasource/bitbucket-tags/index getTagCommit returns tags commit hash from bitbucket cloud 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/dep2/refs/tags/v1.0.0",
-  },
-]
-`;
diff --git a/lib/modules/datasource/bitbucket-tags/index.spec.ts b/lib/modules/datasource/bitbucket-tags/index.spec.ts
index c8d9f6518fabe128789f3a7afbdb65611eefad44..3f33e023f276196a41adb967d6f9c8e111c991de 100644
--- a/lib/modules/datasource/bitbucket-tags/index.spec.ts
+++ b/lib/modules/datasource/bitbucket-tags/index.spec.ts
@@ -36,7 +36,6 @@ describe('modules/datasource/bitbucket-tags/index', () => {
       });
       expect(res).toMatchSnapshot();
       expect(res.releases).toHaveLength(3);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
   describe('getDigest', () => {
@@ -74,7 +73,6 @@ describe('modules/datasource/bitbucket-tags/index', () => {
       expect(res).toMatchSnapshot();
       expect(res).toBeString();
       expect(res).toBe('123');
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
   describe('getDigest with no commits', () => {
@@ -96,9 +94,7 @@ describe('modules/datasource/bitbucket-tags/index', () => {
         datasource,
         depName: 'some/dep2',
       });
-      expect(res).toMatchSnapshot();
       expect(res).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
   describe('getTagCommit', () => {
@@ -124,7 +120,6 @@ describe('modules/datasource/bitbucket-tags/index', () => {
       expect(res).toMatchSnapshot();
       expect(res).toBeString();
       expect(res).toBe('123');
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 });
diff --git a/lib/modules/datasource/cdnjs/__snapshots__/index.spec.ts.snap b/lib/modules/datasource/cdnjs/__snapshots__/index.spec.ts.snap
index 30c2631ea6d85f6b4a6cb01126105a3ff144a288..5197f4189a4e0b34103ee3be7ce9c81a32239e74 100644
--- a/lib/modules/datasource/cdnjs/__snapshots__/index.spec.ts.snap
+++ b/lib/modules/datasource/cdnjs/__snapshots__/index.spec.ts.snap
@@ -13,21 +13,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/cdnjs/index getReleases filters releases by asset presence 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.cdnjs.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.cdnjs.com/libraries/bulma?fields=homepage,repository,assets",
-  },
-]
-`;
-
 exports[`modules/datasource/cdnjs/index getReleases processes real data 1`] = `
 Object {
   "homepage": "https://d3js.org/d3-force/",
@@ -141,138 +126,3 @@ Object {
   "sourceUrl": "https://github.com/d3/d3-force",
 }
 `;
-
-exports[`modules/datasource/cdnjs/index getReleases processes real data 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.cdnjs.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.cdnjs.com/libraries/d3-force?fields=homepage,repository,assets",
-  },
-]
-`;
-
-exports[`modules/datasource/cdnjs/index getReleases returns null for 404 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.cdnjs.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.cdnjs.com/libraries/foo?fields=homepage,repository,assets",
-  },
-]
-`;
-
-exports[`modules/datasource/cdnjs/index getReleases returns null for empty 200 OK 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.cdnjs.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.cdnjs.com/libraries/doesnotexist?fields=homepage,repository,assets",
-  },
-]
-`;
-
-exports[`modules/datasource/cdnjs/index getReleases throws for 5xx 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.cdnjs.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.cdnjs.com/libraries/foo?fields=homepage,repository,assets",
-  },
-]
-`;
-
-exports[`modules/datasource/cdnjs/index getReleases throws for 401 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.cdnjs.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.cdnjs.com/libraries/foo?fields=homepage,repository,assets",
-  },
-]
-`;
-
-exports[`modules/datasource/cdnjs/index getReleases throws for 429 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.cdnjs.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.cdnjs.com/libraries/foo?fields=homepage,repository,assets",
-  },
-]
-`;
-
-exports[`modules/datasource/cdnjs/index getReleases throws for empty result 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.cdnjs.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.cdnjs.com/libraries/foo?fields=homepage,repository,assets",
-  },
-]
-`;
-
-exports[`modules/datasource/cdnjs/index getReleases throws for error 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.cdnjs.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.cdnjs.com/libraries/foo?fields=homepage,repository,assets",
-  },
-]
-`;
-
-exports[`modules/datasource/cdnjs/index getReleases throws for unknown error 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.cdnjs.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.cdnjs.com/libraries/foo?fields=homepage,repository,assets",
-  },
-]
-`;
diff --git a/lib/modules/datasource/cdnjs/index.spec.ts b/lib/modules/datasource/cdnjs/index.spec.ts
index f6e78ba1a97a031c64eed48a7e52356a104ba057..e65d5246d5e33a596d2acf48679c2765a9140329 100644
--- a/lib/modules/datasource/cdnjs/index.spec.ts
+++ b/lib/modules/datasource/cdnjs/index.spec.ts
@@ -23,7 +23,6 @@ describe('modules/datasource/cdnjs/index', () => {
           depName: 'foo/bar',
         })
       ).rejects.toThrow(EXTERNAL_HOST_ERROR);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('throws for error', async () => {
       httpMock.scope(baseUrl).get(pathFor('foo/bar')).replyWithError('error');
@@ -33,7 +32,6 @@ describe('modules/datasource/cdnjs/index', () => {
           depName: 'foo/bar',
         })
       ).rejects.toThrow(EXTERNAL_HOST_ERROR);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns null for 404', async () => {
       httpMock.scope(baseUrl).get(pathFor('foo/bar')).reply(404);
@@ -43,7 +41,6 @@ describe('modules/datasource/cdnjs/index', () => {
           depName: 'foo/bar',
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns null for empty 200 OK', async () => {
       httpMock
@@ -56,7 +53,6 @@ describe('modules/datasource/cdnjs/index', () => {
           depName: 'doesnotexist/doesnotexist',
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('throws for 401', async () => {
       httpMock.scope(baseUrl).get(pathFor('foo/bar')).reply(401);
@@ -66,7 +62,6 @@ describe('modules/datasource/cdnjs/index', () => {
           depName: 'foo/bar',
         })
       ).rejects.toThrow(EXTERNAL_HOST_ERROR);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('throws for 429', async () => {
       httpMock.scope(baseUrl).get(pathFor('foo/bar')).reply(429);
@@ -76,7 +71,6 @@ describe('modules/datasource/cdnjs/index', () => {
           depName: 'foo/bar',
         })
       ).rejects.toThrow(EXTERNAL_HOST_ERROR);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('throws for 5xx', async () => {
       httpMock.scope(baseUrl).get(pathFor('foo/bar')).reply(502);
@@ -86,7 +80,6 @@ describe('modules/datasource/cdnjs/index', () => {
           depName: 'foo/bar',
         })
       ).rejects.toThrow(EXTERNAL_HOST_ERROR);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('throws for unknown error', async () => {
       httpMock.scope(baseUrl).get(pathFor('foo/bar')).replyWithError('error');
@@ -96,7 +89,6 @@ describe('modules/datasource/cdnjs/index', () => {
           depName: 'foo/bar',
         })
       ).rejects.toThrow(EXTERNAL_HOST_ERROR);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('processes real data', async () => {
       httpMock
@@ -108,7 +100,6 @@ describe('modules/datasource/cdnjs/index', () => {
         depName: 'd3-force/d3-force.js',
       });
       expect(res).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('filters releases by asset presence', async () => {
       httpMock
@@ -120,7 +111,6 @@ describe('modules/datasource/cdnjs/index', () => {
         depName: 'bulma/only/0.7.5/style.css',
       });
       expect(res).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 });
diff --git a/lib/modules/datasource/clojure/__snapshots__/index.spec.ts.snap b/lib/modules/datasource/clojure/__snapshots__/index.spec.ts.snap
index a46c84f4eda2787bbc4c0790f993e71833e55f93..4e837e332fe8519111ffbcc699dcf54205581802 100644
--- a/lib/modules/datasource/clojure/__snapshots__/index.spec.ts.snap
+++ b/lib/modules/datasource/clojure/__snapshots__/index.spec.ts.snap
@@ -1,157 +1,5 @@
 // Jest Snapshot v1, https://goo.gl/fbAQLP
 
-exports[`modules/datasource/clojure/index collects releases from all registry urls 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://clojars.org/repo/org/example/package/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://clojars.org/repo/org/example/package/1.0.3-SNAPSHOT/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://clojars.org/repo/org/example/package/0.0.1/package-0.0.1.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://clojars.org/repo/org/example/package/1.0.0/package-1.0.0.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://clojars.org/repo/org/example/package/1.0.1/package-1.0.1.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://clojars.org/repo/org/example/package/1.0.2/package-1.0.2.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://clojars.org/repo/org/example/package/1.0.3-SNAPSHOT/package-1.0.3-20200101.010003-3.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://clojars.org/repo/org/example/package/1.0.4-SNAPSHOT/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://clojars.org/repo/org/example/package/1.0.5-SNAPSHOT/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://clojars.org/repo/org/example/package/2.0.0/package-2.0.0.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://clojars.org/repo/org/example/package/1.0.4-SNAPSHOT/package-1.0.4-SNAPSHOT.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://clojars.org/repo/org/example/package/1.0.5-SNAPSHOT/package-1.0.5-SNAPSHOT.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://clojars.org/repo/org/example/package/2.0.0/package-2.0.0.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "custom.registry.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://custom.registry.renovatebot.com/org/example/package/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "custom.registry.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://custom.registry.renovatebot.com/org/example/package/3.0.0/package-3.0.0.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "custom.registry.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://custom.registry.renovatebot.com/org/example/package/3.0.0/package-3.0.0.pom",
-  },
-]
-`;
-
 exports[`modules/datasource/clojure/index falls back to next registry url 1`] = `
 Object {
   "display": "org.example:package",
@@ -179,403 +27,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/clojure/index falls back to next registry url 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "failed_repo",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://failed_repo/org/example/package/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "unauthorized_repo",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://unauthorized_repo/org/example/package/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "empty_repo",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://empty_repo/org/example/package/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "unknown_error",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://unknown_error/org/example/package/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://clojars.org/repo/org/example/package/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://clojars.org/repo/org/example/package/1.0.3-SNAPSHOT/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://clojars.org/repo/org/example/package/0.0.1/package-0.0.1.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://clojars.org/repo/org/example/package/1.0.0/package-1.0.0.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://clojars.org/repo/org/example/package/1.0.1/package-1.0.1.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://clojars.org/repo/org/example/package/1.0.2/package-1.0.2.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://clojars.org/repo/org/example/package/1.0.3-SNAPSHOT/package-1.0.3-20200101.010003-3.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://clojars.org/repo/org/example/package/1.0.4-SNAPSHOT/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://clojars.org/repo/org/example/package/1.0.5-SNAPSHOT/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://clojars.org/repo/org/example/package/2.0.0/package-2.0.0.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://clojars.org/repo/org/example/package/1.0.4-SNAPSHOT/package-1.0.4-SNAPSHOT.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://clojars.org/repo/org/example/package/1.0.5-SNAPSHOT/package-1.0.5-SNAPSHOT.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://clojars.org/repo/org/example/package/2.0.0/package-2.0.0.pom",
-  },
-]
-`;
-
-exports[`modules/datasource/clojure/index handles optional slash at the end of registry url 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://clojars.org/repo/org/example/package/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://clojars.org/repo/org/example/package/1.0.3-SNAPSHOT/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://clojars.org/repo/org/example/package/0.0.1/package-0.0.1.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://clojars.org/repo/org/example/package/1.0.0/package-1.0.0.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://clojars.org/repo/org/example/package/1.0.1/package-1.0.1.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://clojars.org/repo/org/example/package/1.0.2/package-1.0.2.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://clojars.org/repo/org/example/package/1.0.3-SNAPSHOT/package-1.0.3-20200101.010003-3.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://clojars.org/repo/org/example/package/1.0.4-SNAPSHOT/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://clojars.org/repo/org/example/package/1.0.5-SNAPSHOT/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://clojars.org/repo/org/example/package/2.0.0/package-2.0.0.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://clojars.org/repo/org/example/package/1.0.4-SNAPSHOT/package-1.0.4-SNAPSHOT.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://clojars.org/repo/org/example/package/1.0.5-SNAPSHOT/package-1.0.5-SNAPSHOT.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://clojars.org/repo/org/example/package/2.0.0/package-2.0.0.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://clojars.org/repo/org/example/package/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://clojars.org/repo/org/example/package/1.0.3-SNAPSHOT/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://clojars.org/repo/org/example/package/0.0.1/package-0.0.1.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://clojars.org/repo/org/example/package/1.0.0/package-1.0.0.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://clojars.org/repo/org/example/package/1.0.1/package-1.0.1.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://clojars.org/repo/org/example/package/1.0.2/package-1.0.2.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://clojars.org/repo/org/example/package/1.0.3-SNAPSHOT/package-1.0.3-20200101.010003-3.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://clojars.org/repo/org/example/package/1.0.4-SNAPSHOT/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://clojars.org/repo/org/example/package/1.0.5-SNAPSHOT/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://clojars.org/repo/org/example/package/2.0.0/package-2.0.0.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://clojars.org/repo/org/example/package/1.0.4-SNAPSHOT/package-1.0.4-SNAPSHOT.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://clojars.org/repo/org/example/package/1.0.5-SNAPSHOT/package-1.0.5-SNAPSHOT.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://clojars.org/repo/org/example/package/2.0.0/package-2.0.0.pom",
-  },
-]
-`;
-
 exports[`modules/datasource/clojure/index ignores unsupported protocols 1`] = `
 Array [
   Object {
@@ -596,128 +47,6 @@ Array [
 ]
 `;
 
-exports[`modules/datasource/clojure/index ignores unsupported protocols 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "http://clojars.org/repo/org/example/package/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "http://clojars.org/repo/org/example/package/1.0.3-SNAPSHOT/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "http://clojars.org/repo/org/example/package/0.0.1/package-0.0.1.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "http://clojars.org/repo/org/example/package/1.0.0/package-1.0.0.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "http://clojars.org/repo/org/example/package/1.0.1/package-1.0.1.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "http://clojars.org/repo/org/example/package/1.0.2/package-1.0.2.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "http://clojars.org/repo/org/example/package/1.0.3-SNAPSHOT/package-1.0.3-20200101.010003-3.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "http://clojars.org/repo/org/example/package/1.0.4-SNAPSHOT/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "http://clojars.org/repo/org/example/package/1.0.5-SNAPSHOT/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "http://clojars.org/repo/org/example/package/2.0.0/package-2.0.0.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "http://clojars.org/repo/org/example/package/1.0.4-SNAPSHOT/package-1.0.4-SNAPSHOT.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "http://clojars.org/repo/org/example/package/1.0.5-SNAPSHOT/package-1.0.5-SNAPSHOT.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "http://clojars.org/repo/org/example/package/2.0.0/package-2.0.0.pom",
-  },
-]
-`;
-
 exports[`modules/datasource/clojure/index returns releases from custom repository 1`] = `
 Object {
   "display": "org.example:package",
@@ -745,141 +74,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/clojure/index returns releases from custom repository 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "custom.registry.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://custom.registry.renovatebot.com/org/example/package/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "custom.registry.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://custom.registry.renovatebot.com/org/example/package/1.0.3-SNAPSHOT/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "custom.registry.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://custom.registry.renovatebot.com/org/example/package/0.0.1/package-0.0.1.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "custom.registry.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://custom.registry.renovatebot.com/org/example/package/1.0.0/package-1.0.0.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "custom.registry.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://custom.registry.renovatebot.com/org/example/package/1.0.1/package-1.0.1.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "custom.registry.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://custom.registry.renovatebot.com/org/example/package/1.0.2/package-1.0.2.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "custom.registry.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://custom.registry.renovatebot.com/org/example/package/1.0.3-SNAPSHOT/package-1.0.3-20200101.010003-3.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "custom.registry.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://custom.registry.renovatebot.com/org/example/package/1.0.4-SNAPSHOT/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "custom.registry.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://custom.registry.renovatebot.com/org/example/package/1.0.5-SNAPSHOT/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "custom.registry.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://custom.registry.renovatebot.com/org/example/package/2.0.0/package-2.0.0.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "custom.registry.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://custom.registry.renovatebot.com/org/example/package/1.0.4-SNAPSHOT/package-1.0.4-SNAPSHOT.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "custom.registry.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://custom.registry.renovatebot.com/org/example/package/1.0.5-SNAPSHOT/package-1.0.5-SNAPSHOT.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "custom.registry.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://custom.registry.renovatebot.com/org/example/package/2.0.0/package-2.0.0.pom",
-  },
-]
-`;
-
 exports[`modules/datasource/clojure/index skips registry with invalid XML 1`] = `
 Object {
   "display": "org.example:package",
@@ -907,137 +101,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/clojure/index skips registry with invalid XML 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "invalid_metadata_repo",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://invalid_metadata_repo/org/example/package/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://clojars.org/repo/org/example/package/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://clojars.org/repo/org/example/package/1.0.3-SNAPSHOT/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://clojars.org/repo/org/example/package/0.0.1/package-0.0.1.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://clojars.org/repo/org/example/package/1.0.0/package-1.0.0.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://clojars.org/repo/org/example/package/1.0.1/package-1.0.1.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://clojars.org/repo/org/example/package/1.0.2/package-1.0.2.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://clojars.org/repo/org/example/package/1.0.3-SNAPSHOT/package-1.0.3-20200101.010003-3.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://clojars.org/repo/org/example/package/1.0.4-SNAPSHOT/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://clojars.org/repo/org/example/package/1.0.5-SNAPSHOT/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://clojars.org/repo/org/example/package/2.0.0/package-2.0.0.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://clojars.org/repo/org/example/package/1.0.4-SNAPSHOT/package-1.0.4-SNAPSHOT.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://clojars.org/repo/org/example/package/1.0.5-SNAPSHOT/package-1.0.5-SNAPSHOT.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://clojars.org/repo/org/example/package/2.0.0/package-2.0.0.pom",
-  },
-]
-`;
-
 exports[`modules/datasource/clojure/index skips registry with invalid metadata structure 1`] = `
 Object {
   "display": "org.example:package",
@@ -1064,134 +127,3 @@ Object {
   ],
 }
 `;
-
-exports[`modules/datasource/clojure/index skips registry with invalid metadata structure 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "invalid_metadata_repo",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://invalid_metadata_repo/org/example/package/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://clojars.org/repo/org/example/package/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://clojars.org/repo/org/example/package/1.0.3-SNAPSHOT/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://clojars.org/repo/org/example/package/0.0.1/package-0.0.1.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://clojars.org/repo/org/example/package/1.0.0/package-1.0.0.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://clojars.org/repo/org/example/package/1.0.1/package-1.0.1.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://clojars.org/repo/org/example/package/1.0.2/package-1.0.2.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://clojars.org/repo/org/example/package/1.0.3-SNAPSHOT/package-1.0.3-20200101.010003-3.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://clojars.org/repo/org/example/package/1.0.4-SNAPSHOT/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://clojars.org/repo/org/example/package/1.0.5-SNAPSHOT/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://clojars.org/repo/org/example/package/2.0.0/package-2.0.0.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://clojars.org/repo/org/example/package/1.0.4-SNAPSHOT/package-1.0.4-SNAPSHOT.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://clojars.org/repo/org/example/package/1.0.5-SNAPSHOT/package-1.0.5-SNAPSHOT.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "clojars.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://clojars.org/repo/org/example/package/2.0.0/package-2.0.0.pom",
-  },
-]
-`;
diff --git a/lib/modules/datasource/clojure/index.spec.ts b/lib/modules/datasource/clojure/index.spec.ts
index c275abe3238b46da117580972db2aaa6f6780272..27873b2532b999a8cf324488889da01ca0971104 100644
--- a/lib/modules/datasource/clojure/index.spec.ts
+++ b/lib/modules/datasource/clojure/index.spec.ts
@@ -172,7 +172,6 @@ describe('modules/datasource/clojure/index', () => {
     const res = await get('org.example:package', baseUrlCustom);
 
     expect(res).toMatchSnapshot();
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
 
   it('collects releases from all registry urls', async () => {
@@ -198,7 +197,6 @@ describe('modules/datasource/clojure/index', () => {
       { version: '2.0.0' },
       { version: '3.0.0' },
     ]);
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
 
   it('falls back to next registry url', async () => {
@@ -230,7 +228,6 @@ describe('modules/datasource/clojure/index', () => {
     );
 
     expect(res).toMatchSnapshot();
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
 
   it('ignores unsupported protocols', async () => {
@@ -245,7 +242,6 @@ describe('modules/datasource/clojure/index', () => {
     );
 
     expect(releases).toMatchSnapshot();
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
 
   it('skips registry with invalid metadata structure', async () => {
@@ -265,7 +261,6 @@ describe('modules/datasource/clojure/index', () => {
     );
 
     expect(res).toMatchSnapshot();
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
 
   it('skips registry with invalid XML', async () => {
@@ -282,7 +277,6 @@ describe('modules/datasource/clojure/index', () => {
     );
 
     expect(res).toMatchSnapshot();
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
 
   it('handles optional slash at the end of registry url', async () => {
@@ -293,7 +287,6 @@ describe('modules/datasource/clojure/index', () => {
     expect(resA).not.toBeNull();
     expect(resB).not.toBeNull();
     expect(resA.releases).toEqual(resB.releases);
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
 
   it('returns null for invalid registryUrls', async () => {
diff --git a/lib/modules/datasource/crate/__snapshots__/index.spec.ts.snap b/lib/modules/datasource/crate/__snapshots__/index.spec.ts.snap
index b805907e35a5f8f318782b2d73f23aa9526e9f5a..c456881f19436b5860ad154df15c91b2766c8347 100644
--- a/lib/modules/datasource/crate/__snapshots__/index.spec.ts.snap
+++ b/lib/modules/datasource/crate/__snapshots__/index.spec.ts.snap
@@ -97,20 +97,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/crate/index getReleases processes real data: amethyst 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "raw.githubusercontent.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://raw.githubusercontent.com/rust-lang/crates.io-index/master/am/et/amethyst",
-  },
-]
-`;
-
 exports[`modules/datasource/crate/index getReleases processes real data: libc 1`] = `
 Object {
   "dependencyUrl": "https://crates.io/crates/libc",
@@ -317,104 +303,4 @@ Object {
 }
 `;
 
-exports[`modules/datasource/crate/index getReleases processes real data: libc 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "raw.githubusercontent.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://raw.githubusercontent.com/rust-lang/crates.io-index/master/li/bc/libc",
-  },
-]
-`;
-
-exports[`modules/datasource/crate/index getReleases refuses to clone if allowCustomCrateRegistries is not true 1`] = `null`;
-
-exports[`modules/datasource/crate/index getReleases returns null for 404 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "raw.githubusercontent.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://raw.githubusercontent.com/rust-lang/crates.io-index/master/so/me/some_crate",
-  },
-]
-`;
-
-exports[`modules/datasource/crate/index getReleases returns null for empty list 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "raw.githubusercontent.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://raw.githubusercontent.com/rust-lang/crates.io-index/master/no/n_/non_existent_crate",
-  },
-]
-`;
-
-exports[`modules/datasource/crate/index getReleases returns null for empty result 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "raw.githubusercontent.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://raw.githubusercontent.com/rust-lang/crates.io-index/master/no/n_/non_existent_crate",
-  },
-]
-`;
-
-exports[`modules/datasource/crate/index getReleases returns null for missing fields 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "raw.githubusercontent.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://raw.githubusercontent.com/rust-lang/crates.io-index/master/no/n_/non_existent_crate",
-  },
-]
-`;
-
-exports[`modules/datasource/crate/index getReleases returns null for unknown error 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "raw.githubusercontent.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://raw.githubusercontent.com/rust-lang/crates.io-index/master/so/me/some_crate",
-  },
-]
-`;
-
 exports[`modules/datasource/crate/index getReleases throws for 5xx 1`] = `[Error: external-host-error]`;
-
-exports[`modules/datasource/crate/index getReleases throws for 5xx 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "raw.githubusercontent.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://raw.githubusercontent.com/rust-lang/crates.io-index/master/so/me/some_crate",
-  },
-]
-`;
diff --git a/lib/modules/datasource/crate/index.spec.ts b/lib/modules/datasource/crate/index.spec.ts
index 12b2d1b8aa9e2284df6eeff0f05ac4e127e2de83..84f3449c2ccbdab6e0aeeb51d6d2f29c2d5c6d1c 100644
--- a/lib/modules/datasource/crate/index.spec.ts
+++ b/lib/modules/datasource/crate/index.spec.ts
@@ -139,7 +139,6 @@ describe('modules/datasource/crate/index', () => {
           registryUrls: ['https://crates.io'],
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns null for missing fields', async () => {
       httpMock
@@ -153,7 +152,6 @@ describe('modules/datasource/crate/index', () => {
           registryUrls: ['https://crates.io'],
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns null for empty list', async () => {
       httpMock.scope(baseUrl).get('/no/n_/non_existent_crate').reply(200, '\n');
@@ -164,7 +162,6 @@ describe('modules/datasource/crate/index', () => {
           registryUrls: ['https://crates.io'],
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns null for 404', async () => {
       httpMock.scope(baseUrl).get('/so/me/some_crate').reply(404);
@@ -175,7 +172,6 @@ describe('modules/datasource/crate/index', () => {
           registryUrls: ['https://crates.io'],
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('throws for 5xx', async () => {
       httpMock.scope(baseUrl).get('/so/me/some_crate').reply(502);
@@ -191,7 +187,6 @@ describe('modules/datasource/crate/index', () => {
       }
       expect(e).toBeDefined();
       expect(e).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns null for unknown error', async () => {
       httpMock.scope(baseUrl).get('/so/me/some_crate').replyWithError('');
@@ -202,7 +197,6 @@ describe('modules/datasource/crate/index', () => {
           registryUrls: ['https://crates.io'],
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('processes real data: libc', async () => {
       httpMock
@@ -217,7 +211,6 @@ describe('modules/datasource/crate/index', () => {
       expect(res).toMatchSnapshot();
       expect(res).not.toBeNull();
       expect(res).toBeDefined();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('processes real data: amethyst', async () => {
       httpMock
@@ -232,7 +225,6 @@ describe('modules/datasource/crate/index', () => {
       expect(res).toMatchSnapshot();
       expect(res).not.toBeNull();
       expect(res).toBeDefined();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('refuses to clone if allowCustomCrateRegistries is not true', async () => {
       const { mockClone } = setupGitMocks();
@@ -244,7 +236,6 @@ describe('modules/datasource/crate/index', () => {
         registryUrls: [url],
       });
       expect(mockClone).toHaveBeenCalledTimes(0);
-      expect(res).toMatchSnapshot();
       expect(res).toBeNull();
     });
     it('clones cloudsmith private registry', async () => {
diff --git a/lib/modules/datasource/dart/__snapshots__/index.spec.ts.snap b/lib/modules/datasource/dart/__snapshots__/index.spec.ts.snap
index 5c2ac4449df76473218345d2d9291fd62e476e9d..1a7dea7c0d941554f20680a6419fb30763caf77b 100644
--- a/lib/modules/datasource/dart/__snapshots__/index.spec.ts.snap
+++ b/lib/modules/datasource/dart/__snapshots__/index.spec.ts.snap
@@ -185,104 +185,4 @@ Object {
 }
 `;
 
-exports[`modules/datasource/dart/index getReleases processes real data 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "pub.dartlang.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://pub.dartlang.org/api/packages/shared_preferences",
-  },
-]
-`;
-
-exports[`modules/datasource/dart/index getReleases returns null for 404 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "pub.dartlang.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://pub.dartlang.org/api/packages/shared_preferences",
-  },
-]
-`;
-
-exports[`modules/datasource/dart/index getReleases returns null for empty fields 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "pub.dartlang.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://pub.dartlang.org/api/packages/shared_preferences",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "pub.dartlang.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://pub.dartlang.org/api/packages/shared_preferences",
-  },
-]
-`;
-
-exports[`modules/datasource/dart/index getReleases returns null for empty result 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "pub.dartlang.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://pub.dartlang.org/api/packages/non_sense",
-  },
-]
-`;
-
-exports[`modules/datasource/dart/index getReleases returns null for unknown error 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "pub.dartlang.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://pub.dartlang.org/api/packages/shared_preferences",
-  },
-]
-`;
-
 exports[`modules/datasource/dart/index getReleases throws for 5xx 1`] = `[Error: external-host-error]`;
-
-exports[`modules/datasource/dart/index getReleases throws for 5xx 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "pub.dartlang.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://pub.dartlang.org/api/packages/shared_preferences",
-  },
-]
-`;
diff --git a/lib/modules/datasource/dart/index.spec.ts b/lib/modules/datasource/dart/index.spec.ts
index f317e3961b6db1fd6ed8596364c47a7476a681dc..9b2ea28b852a934fd01a097aa23194c0434790bc 100644
--- a/lib/modules/datasource/dart/index.spec.ts
+++ b/lib/modules/datasource/dart/index.spec.ts
@@ -17,7 +17,6 @@ describe('modules/datasource/dart/index', () => {
           depName: 'non_sense',
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns null for empty fields', async () => {
       const withoutVersions = {
@@ -49,8 +48,6 @@ describe('modules/datasource/dart/index', () => {
           depName: 'shared_preferences',
         })
       ).toBeNull();
-
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns null for 404', async () => {
       httpMock.scope(baseUrl).get('/shared_preferences').reply(404);
@@ -60,7 +57,6 @@ describe('modules/datasource/dart/index', () => {
           depName: 'shared_preferences',
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('throws for 5xx', async () => {
       httpMock.scope(baseUrl).get('/shared_preferences').reply(502);
@@ -75,7 +71,6 @@ describe('modules/datasource/dart/index', () => {
       }
       expect(e).toBeDefined();
       expect(e).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns null for unknown error', async () => {
       httpMock.scope(baseUrl).get('/shared_preferences').replyWithError('');
@@ -85,7 +80,6 @@ describe('modules/datasource/dart/index', () => {
           depName: 'shared_preferences',
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('processes real data', async () => {
       httpMock.scope(baseUrl).get('/shared_preferences').reply(200, body);
@@ -94,7 +88,6 @@ describe('modules/datasource/dart/index', () => {
         depName: 'shared_preferences',
       });
       expect(res).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 });
diff --git a/lib/modules/datasource/galaxy-collection/__snapshots__/index.spec.ts.snap b/lib/modules/datasource/galaxy-collection/__snapshots__/index.spec.ts.snap
index 7b8cf2e74bb37090ddf3a29794b9a8295d6ae184..5528ce9d3e3452c38f5772735567b57e3ea5b0bc 100644
--- a/lib/modules/datasource/galaxy-collection/__snapshots__/index.spec.ts.snap
+++ b/lib/modules/datasource/galaxy-collection/__snapshots__/index.spec.ts.snap
@@ -39,135 +39,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/galaxy-collection/index getReleases processes real data 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "galaxy.ansible.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://galaxy.ansible.com/api/v2/collections/community/kubernetes/",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "galaxy.ansible.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://galaxy.ansible.com/api/v2/collections/community/kubernetes/versions/",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "galaxy.ansible.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://galaxy.ansible.com/api/v2/collections/community/kubernetes/versions/1.2.1/",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "galaxy.ansible.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://galaxy.ansible.com/api/v2/collections/community/kubernetes/versions/1.2.0/",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "galaxy.ansible.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://galaxy.ansible.com/api/v2/collections/community/kubernetes/versions/0.11.1/",
-  },
-]
-`;
-
-exports[`modules/datasource/galaxy-collection/index getReleases returns null for 404 result 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "galaxy.ansible.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://galaxy.ansible.com/api/v2/collections/foo/bar/",
-  },
-]
-`;
-
-exports[`modules/datasource/galaxy-collection/index getReleases returns null for empty lookup 1`] = `Array []`;
-
-exports[`modules/datasource/galaxy-collection/index getReleases returns null for null packageName  1`] = `Array []`;
-
-exports[`modules/datasource/galaxy-collection/index getReleases returns null for unexpected data at base 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "galaxy.ansible.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://galaxy.ansible.com/api/v2/collections/community/kubernetes/",
-  },
-]
-`;
-
-exports[`modules/datasource/galaxy-collection/index getReleases returns null for unexpected data at versions 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "galaxy.ansible.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://galaxy.ansible.com/api/v2/collections/community/kubernetes/",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "galaxy.ansible.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://galaxy.ansible.com/api/v2/collections/community/kubernetes/versions/",
-  },
-]
-`;
-
-exports[`modules/datasource/galaxy-collection/index getReleases returns null for unknown error 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "galaxy.ansible.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://galaxy.ansible.com/api/v2/collections/foo/bar/",
-  },
-]
-`;
-
 exports[`modules/datasource/galaxy-collection/index getReleases returns only valid versions if a version detail fails 1`] = `
 Object {
   "registryUrl": "https://galaxy.ansible.com/",
@@ -189,98 +60,3 @@ Object {
   ],
 }
 `;
-
-exports[`modules/datasource/galaxy-collection/index getReleases returns only valid versions if a version detail fails 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "galaxy.ansible.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://galaxy.ansible.com/api/v2/collections/community/kubernetes/",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "galaxy.ansible.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://galaxy.ansible.com/api/v2/collections/community/kubernetes/versions/",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "galaxy.ansible.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://galaxy.ansible.com/api/v2/collections/community/kubernetes/versions/1.2.1/",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "galaxy.ansible.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://galaxy.ansible.com/api/v2/collections/community/kubernetes/versions/1.2.0/",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "galaxy.ansible.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://galaxy.ansible.com/api/v2/collections/community/kubernetes/versions/0.11.1/",
-  },
-]
-`;
-
-exports[`modules/datasource/galaxy-collection/index getReleases throws error for remote host versions error 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "galaxy.ansible.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://galaxy.ansible.com/api/v2/collections/community/kubernetes/",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "galaxy.ansible.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://galaxy.ansible.com/api/v2/collections/community/kubernetes/versions/",
-  },
-]
-`;
-
-exports[`modules/datasource/galaxy-collection/index getReleases throws for remote host error 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "galaxy.ansible.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://galaxy.ansible.com/api/v2/collections/foo/bar/",
-  },
-]
-`;
diff --git a/lib/modules/datasource/galaxy-collection/index.spec.ts b/lib/modules/datasource/galaxy-collection/index.spec.ts
index 82f2ceba435a64b08e45005797fa2768dac1993c..05845c6e69e8b7f75de30633376f2c3a404a5dae 100644
--- a/lib/modules/datasource/galaxy-collection/index.spec.ts
+++ b/lib/modules/datasource/galaxy-collection/index.spec.ts
@@ -32,7 +32,6 @@ describe('modules/datasource/galaxy-collection/index', () => {
           depName: 'foo.bar',
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('throws for remote host error', async () => {
@@ -43,7 +42,6 @@ describe('modules/datasource/galaxy-collection/index', () => {
           depName: 'foo.bar',
         })
       ).rejects.toThrow(EXTERNAL_HOST_ERROR);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('returns null for unexpected data at base', async () => {
@@ -57,7 +55,6 @@ describe('modules/datasource/galaxy-collection/index', () => {
           depName: 'community.kubernetes',
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('returns null for unexpected data at versions', async () => {
@@ -73,7 +70,6 @@ describe('modules/datasource/galaxy-collection/index', () => {
           depName: 'community.kubernetes',
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('throws error for remote host versions error', async () => {
@@ -89,7 +85,6 @@ describe('modules/datasource/galaxy-collection/index', () => {
           depName: 'community.kubernetes',
         })
       ).rejects.toThrow(EXTERNAL_HOST_ERROR);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('returns only valid versions if a version detail fails', async () => {
@@ -114,7 +109,6 @@ describe('modules/datasource/galaxy-collection/index', () => {
       expect(res).not.toBeNull();
       expect(res).toBeDefined();
       expect(res.releases).toHaveLength(2);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('returns null for empty lookup', async () => {
@@ -124,7 +118,6 @@ describe('modules/datasource/galaxy-collection/index', () => {
           depName: '',
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('returns null for null packageName ', async () => {
@@ -134,7 +127,6 @@ describe('modules/datasource/galaxy-collection/index', () => {
           depName: null,
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('returns null for unknown error', async () => {
@@ -148,7 +140,6 @@ describe('modules/datasource/galaxy-collection/index', () => {
           depName: 'foo.bar',
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('processes real data', async () => {
@@ -172,7 +163,6 @@ describe('modules/datasource/galaxy-collection/index', () => {
       expect(res).not.toBeNull();
       expect(res).toBeDefined();
       expect(res.releases).toHaveLength(3);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 });
diff --git a/lib/modules/datasource/galaxy/__snapshots__/index.spec.ts.snap b/lib/modules/datasource/galaxy/__snapshots__/index.spec.ts.snap
index a667dfa1d416f1d704427714463616bedcdaa796..d9f7deddafb343dfac2835bb26008ef292a337ac 100644
--- a/lib/modules/datasource/galaxy/__snapshots__/index.spec.ts.snap
+++ b/lib/modules/datasource/galaxy/__snapshots__/index.spec.ts.snap
@@ -22,139 +22,4 @@ Object {
 }
 `;
 
-exports[`modules/datasource/galaxy/index getReleases processes real data 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "galaxy.ansible.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://galaxy.ansible.com/api/v1/roles/?owner__username=yatesr&name=timezone",
-  },
-]
-`;
-
-exports[`modules/datasource/galaxy/index getReleases return null if searching random username and project name 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "galaxy.ansible.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://galaxy.ansible.com/api/v1/roles/?owner__username=foo&name=bar",
-  },
-]
-`;
-
-exports[`modules/datasource/galaxy/index getReleases returns null for 404 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "galaxy.ansible.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://galaxy.ansible.com/api/v1/roles/?owner__username=some_crate&name=undefined",
-  },
-]
-`;
-
-exports[`modules/datasource/galaxy/index getReleases returns null for empty list 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "galaxy.ansible.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://galaxy.ansible.com/api/v1/roles/?owner__username=non_existent_crate&name=undefined",
-  },
-]
-`;
-
-exports[`modules/datasource/galaxy/index getReleases returns null for empty result 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "galaxy.ansible.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://galaxy.ansible.com/api/v1/roles/?owner__username=non_existent_crate&name=undefined",
-  },
-]
-`;
-
-exports[`modules/datasource/galaxy/index getReleases returns null for missing fields 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "galaxy.ansible.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://galaxy.ansible.com/api/v1/roles/?owner__username=non_existent_crate&name=undefined",
-  },
-]
-`;
-
-exports[`modules/datasource/galaxy/index getReleases returns null for unknown error 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "galaxy.ansible.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://galaxy.ansible.com/api/v1/roles/?owner__username=some_crate&name=undefined",
-  },
-]
-`;
-
 exports[`modules/datasource/galaxy/index getReleases throws for 5xx 1`] = `[Error: external-host-error]`;
-
-exports[`modules/datasource/galaxy/index getReleases throws for 5xx 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "galaxy.ansible.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://galaxy.ansible.com/api/v1/roles/?owner__username=some_crate&name=undefined",
-  },
-]
-`;
-
-exports[`modules/datasource/galaxy/index getReleases throws for 404 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "galaxy.ansible.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://galaxy.ansible.com/api/v1/roles/?owner__username=foo&name=bar",
-  },
-]
-`;
diff --git a/lib/modules/datasource/galaxy/index.spec.ts b/lib/modules/datasource/galaxy/index.spec.ts
index 65a4e5262f992ea821059d592f1ecc139af1fcff..13fee711ed061c4ab8f280ba08f238569a73992f 100644
--- a/lib/modules/datasource/galaxy/index.spec.ts
+++ b/lib/modules/datasource/galaxy/index.spec.ts
@@ -18,7 +18,6 @@ describe('modules/datasource/galaxy/index', () => {
           depName: 'non_existent_crate',
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns null for missing fields', async () => {
       httpMock
@@ -31,7 +30,6 @@ describe('modules/datasource/galaxy/index', () => {
           depName: 'non_existent_crate',
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns null for empty list', async () => {
       httpMock
@@ -44,7 +42,6 @@ describe('modules/datasource/galaxy/index', () => {
           depName: 'non_existent_crate',
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns null for 404', async () => {
       httpMock
@@ -57,7 +54,6 @@ describe('modules/datasource/galaxy/index', () => {
           depName: 'some_crate',
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns null for unknown error', async () => {
       httpMock
@@ -70,7 +66,6 @@ describe('modules/datasource/galaxy/index', () => {
           depName: 'some_crate',
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('processes real data', async () => {
       httpMock
@@ -84,7 +79,6 @@ describe('modules/datasource/galaxy/index', () => {
       expect(res).toMatchSnapshot();
       expect(res).not.toBeNull();
       expect(res).toBeDefined();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('return null if searching random username and project name', async () => {
       httpMock
@@ -96,7 +90,6 @@ describe('modules/datasource/galaxy/index', () => {
         depName: 'foo.bar',
       });
       expect(res).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('throws for 5xx', async () => {
       httpMock
@@ -114,7 +107,6 @@ describe('modules/datasource/galaxy/index', () => {
       }
       expect(e).toBeDefined();
       expect(e).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('throws for 404', async () => {
       httpMock
@@ -126,7 +118,6 @@ describe('modules/datasource/galaxy/index', () => {
         depName: 'foo.bar',
       });
       expect(res).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 });
diff --git a/lib/modules/datasource/github-releases/__snapshots__/index.spec.ts.snap b/lib/modules/datasource/github-releases/__snapshots__/index.spec.ts.snap
index 6284584b813b7ea1d12366dcb19b102115b56c7d..4bf63b80cdd5ed869cf71af7b0cf5248a4d7fa61 100644
--- a/lib/modules/datasource/github-releases/__snapshots__/index.spec.ts.snap
+++ b/lib/modules/datasource/github-releases/__snapshots__/index.spec.ts.snap
@@ -25,22 +25,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/github-releases/index getReleases returns releases 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token some-token",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/dep/releases?per_page=100",
-  },
-]
-`;
-
 exports[`modules/datasource/github-releases/index getReleases supports ghe 1`] = `
 Object {
   "releases": Array [
@@ -78,19 +62,3 @@ Object {
   "sourceUrl": "https://git.enterprise.com/some/dep",
 }
 `;
-
-exports[`modules/datasource/github-releases/index getReleases supports ghe 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token some-token",
-      "host": "git.enterprise.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://git.enterprise.com/api/v3/repos/some/dep/releases?per_page=100",
-  },
-]
-`;
diff --git a/lib/modules/datasource/github-releases/index.spec.ts b/lib/modules/datasource/github-releases/index.spec.ts
index 34941033b8afbeda854eae5595b6db9517082735..ccf00f310fab8c1de84eeaa454bfda4bc2b3cf55 100644
--- a/lib/modules/datasource/github-releases/index.spec.ts
+++ b/lib/modules/datasource/github-releases/index.spec.ts
@@ -55,7 +55,6 @@ describe('modules/datasource/github-releases/index', () => {
       expect(
         res.releases.find((release) => release.version === '2.0.0').isStable
       ).toBeFalse();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('supports ghe', async () => {
       const packageName = 'some/dep';
@@ -67,9 +66,7 @@ describe('modules/datasource/github-releases/index', () => {
         registryUrl: 'https://git.enterprise.com',
         packageName,
       });
-      httpMock.getTrace();
       expect(res).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 
diff --git a/lib/modules/datasource/github-tags/__snapshots__/index.spec.ts.snap b/lib/modules/datasource/github-tags/__snapshots__/index.spec.ts.snap
index e2e7164bd90db8a7e78f02591709b63d6ec7c8ee..2fad1922db34a36e09c28952069c98171869fee5 100644
--- a/lib/modules/datasource/github-tags/__snapshots__/index.spec.ts.snap
+++ b/lib/modules/datasource/github-tags/__snapshots__/index.spec.ts.snap
@@ -1,139 +1,5 @@
 // Jest Snapshot v1, https://goo.gl/fbAQLP
 
-exports[`modules/datasource/github-tags/index getDigest returns commit digest 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token some-token",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/dep/git/refs/tags/v1.2.0",
-  },
-]
-`;
-
-exports[`modules/datasource/github-tags/index getDigest returns digest 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token some-token",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/dep/commits?per_page=1",
-  },
-]
-`;
-
-exports[`modules/datasource/github-tags/index getDigest returns null for missed tagged digest 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token some-token",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/dep/git/refs/tags/v1.2.0",
-  },
-]
-`;
-
-exports[`modules/datasource/github-tags/index getDigest returns null if no token 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token some-token",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/dep/commits?per_page=1",
-  },
-]
-`;
-
-exports[`modules/datasource/github-tags/index getDigest returns tagged commit digest 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token some-token",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/dep/git/refs/tags/v1.2.0",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token some-token",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/some-url",
-  },
-]
-`;
-
-exports[`modules/datasource/github-tags/index getDigest supports ghe 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token some-token",
-      "host": "git.enterprise.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://git.enterprise.com/api/v3/repos/some/dep/commits?per_page=1",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token some-token",
-      "host": "git.enterprise.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://git.enterprise.com/api/v3/repos/some/dep/git/refs/tags/v1.2.0",
-  },
-]
-`;
-
-exports[`modules/datasource/github-tags/index getDigest warns if unknown ref 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token some-token",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/dep/git/refs/tags/v1.2.0",
-  },
-]
-`;
-
 exports[`modules/datasource/github-tags/index getReleases returns tags 1`] = `
 Object {
   "registryUrl": "https://github.com",
@@ -154,33 +20,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/github-tags/index getReleases returns tags 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token some-token",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/dep2/tags?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token some-token",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/dep2/releases?per_page=100",
-  },
-]
-`;
-
 exports[`modules/datasource/github-tags/index getReleases supports ghe 1`] = `
 Object {
   "releases": Array [
@@ -196,30 +35,3 @@ Object {
   "sourceUrl": "https://git.enterprise.com/some/dep2",
 }
 `;
-
-exports[`modules/datasource/github-tags/index getReleases supports ghe 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token some-token",
-      "host": "git.enterprise.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://git.enterprise.com/api/v3/repos/some/dep2/tags?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token some-token",
-      "host": "git.enterprise.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://git.enterprise.com/api/v3/repos/some/dep2/releases?per_page=100",
-  },
-]
-`;
diff --git a/lib/modules/datasource/github-tags/index.spec.ts b/lib/modules/datasource/github-tags/index.spec.ts
index eb2197e2772d848e7d372932d7461159a523e60d..9dd1fa64f6d3ea4e1a5b7833feb928ccc1eeb0cd 100644
--- a/lib/modules/datasource/github-tags/index.spec.ts
+++ b/lib/modules/datasource/github-tags/index.spec.ts
@@ -31,7 +31,6 @@ describe('modules/datasource/github-tags/index', () => {
         .reply(200, []);
       const res = await github.getDigest({ packageName }, null);
       expect(res).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns digest', async () => {
       httpMock
@@ -40,7 +39,6 @@ describe('modules/datasource/github-tags/index', () => {
         .reply(200, [{ sha: 'abcdef' }]);
       const res = await github.getDigest({ packageName }, null);
       expect(res).toBe('abcdef');
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns commit digest', async () => {
       httpMock
@@ -49,7 +47,6 @@ describe('modules/datasource/github-tags/index', () => {
         .reply(200, { object: { type: 'commit', sha: 'ddd111' } });
       const res = await github.getDigest({ packageName }, tag);
       expect(res).toBe('ddd111');
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns tagged commit digest', async () => {
       httpMock
@@ -62,7 +59,6 @@ describe('modules/datasource/github-tags/index', () => {
         .reply(200, { object: { type: 'commit', sha: 'ddd111' } });
       const res = await github.getDigest({ packageName }, tag);
       expect(res).toBe('ddd111');
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('warns if unknown ref', async () => {
       httpMock
@@ -71,7 +67,6 @@ describe('modules/datasource/github-tags/index', () => {
         .reply(200, { object: { sha: 'ddd111' } });
       const res = await github.getDigest({ packageName }, tag);
       expect(res).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns null for missed tagged digest', async () => {
       httpMock
@@ -80,7 +75,6 @@ describe('modules/datasource/github-tags/index', () => {
         .reply(200, {});
       const res = await github.getDigest({ packageName: 'some/dep' }, 'v1.2.0');
       expect(res).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('supports ghe', async () => {
@@ -99,7 +93,7 @@ describe('modules/datasource/github-tags/index', () => {
         { packageName: 'some/dep', registryUrl: githubEnterpriseApiHost },
         'v1.2.0'
       );
-      expect(httpMock.getTrace()).toMatchSnapshot();
+
       expect(sha1).toBe('abcdef');
       expect(sha2).toBe('ddd111');
     });
@@ -131,7 +125,6 @@ describe('modules/datasource/github-tags/index', () => {
       const res = await getPkgReleases({ datasource: github.id, depName });
       expect(res).toMatchSnapshot();
       expect(res.releases).toHaveLength(2);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('supports ghe', async () => {
@@ -148,7 +141,6 @@ describe('modules/datasource/github-tags/index', () => {
         packageName: depName,
       });
       expect(res).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 });
diff --git a/lib/modules/datasource/go/__snapshots__/index.spec.ts.snap b/lib/modules/datasource/go/__snapshots__/index.spec.ts.snap
index 4343c5b92ab7c1a5d0bef189cf9d15636a1c5b01..e1ff755b222b8d1085badd4f73a8552882f7a120 100644
--- a/lib/modules/datasource/go/__snapshots__/index.spec.ts.snap
+++ b/lib/modules/datasource/go/__snapshots__/index.spec.ts.snap
@@ -1,47 +1,3 @@
 // Jest Snapshot v1, https://goo.gl/fbAQLP
 
-exports[`modules/datasource/go/index getDigest returns digest 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "golang.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://golang.org/x/text?go-get=1",
-  },
-]
-`;
-
-exports[`modules/datasource/go/index getDigest returns null for no go-source tag 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "golang.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://golang.org/y/text?go-get=1",
-  },
-]
-`;
-
-exports[`modules/datasource/go/index getDigest returns null for wrong name 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "golang.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://golang.org/y/text?go-get=1",
-  },
-]
-`;
-
 exports[`modules/datasource/go/index getDigest support bitbucket digest 1`] = `"123"`;
-
-exports[`modules/datasource/go/index getDigest support bitbucket digest 2`] = `Array []`;
diff --git a/lib/modules/datasource/go/__snapshots__/releases-direct.spec.ts.snap b/lib/modules/datasource/go/__snapshots__/releases-direct.spec.ts.snap
index 8d021f6071f9eeb9aad0346cceba26380be17dfd..80e885cb4ee9539691afdfabf84c8652104e6ce1 100644
--- a/lib/modules/datasource/go/__snapshots__/releases-direct.spec.ts.snap
+++ b/lib/modules/datasource/go/__snapshots__/releases-direct.spec.ts.snap
@@ -16,81 +16,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/go/releases-direct getReleases processes real data 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/golang/text/tags?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/golang/text/releases?per_page=100",
-  },
-]
-`;
-
-exports[`modules/datasource/go/releases-direct getReleases returns none if no tags match submodules 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/x/text/tags?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/x/text/releases?per_page=100",
-  },
-]
-`;
-
-exports[`modules/datasource/go/releases-direct getReleases returns none if no tags match submodules 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/x/text/tags?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/x/text/releases?per_page=100",
-  },
-]
-`;
-
 exports[`modules/datasource/go/releases-direct getReleases support bitbucket tags 1`] = `
 Object {
   "registryUrl": "https://bitbucket.org",
@@ -110,21 +35,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/go/releases-direct getReleases support bitbucket tags 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/golang/text/refs/tags?pagelen=100",
-  },
-]
-`;
-
 exports[`modules/datasource/go/releases-direct getReleases support ghe 1`] = `
 Object {
   "releases": Array [
@@ -141,31 +51,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/go/releases-direct getReleases support ghe 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "git.enterprise.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://git.enterprise.com/api/v3/repos/example/module/tags?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "git.enterprise.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://git.enterprise.com/api/v3/repos/example/module/releases?per_page=100",
-  },
-]
-`;
-
 exports[`modules/datasource/go/releases-direct getReleases support gitlab 1`] = `
 Object {
   "releases": Array [
@@ -184,21 +69,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/go/releases-direct getReleases support gitlab 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/golang%2Ftext/repository/tags?per_page=100",
-  },
-]
-`;
-
 exports[`modules/datasource/go/releases-direct getReleases support gitlab subgroups 1`] = `
 Object {
   "releases": Array [
@@ -217,21 +87,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/go/releases-direct getReleases support gitlab subgroups 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/group%2Fsubgroup%2Frepo/repository/tags?per_page=100",
-  },
-]
-`;
-
 exports[`modules/datasource/go/releases-direct getReleases support self hosted gitlab private repositories 1`] = `
 Object {
   "releases": Array [
@@ -249,159 +104,3 @@ Object {
   "sourceUrl": "https://my.custom.domain/golang/myrepo",
 }
 `;
-
-exports[`modules/datasource/go/releases-direct getReleases support self hosted gitlab private repositories 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer some-token",
-      "host": "my.custom.domain",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://my.custom.domain/api/v4/projects/golang%2Fmyrepo/repository/tags?per_page=100",
-  },
-]
-`;
-
-exports[`modules/datasource/go/releases-direct getReleases works for known servers 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/x/text/tags?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/x/text/releases?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/x/text/tags?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/x/text/releases?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/go-x/x/tags?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/go-x/x/releases?per_page=100",
-  },
-]
-`;
-
-exports[`modules/datasource/go/releases-direct getReleases works for nested modules on github 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/x/text/tags?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/x/text/releases?per_page=100",
-  },
-]
-`;
-
-exports[`modules/datasource/go/releases-direct getReleases works for nested modules on github 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/x/text/tags?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/x/text/releases?per_page=100",
-  },
-]
-`;
-
-exports[`modules/datasource/go/releases-direct getReleases works for nested modules on github v2+ major upgrades 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/x/text/tags?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/x/text/releases?per_page=100",
-  },
-]
-`;
diff --git a/lib/modules/datasource/go/__snapshots__/releases-goproxy.spec.ts.snap b/lib/modules/datasource/go/__snapshots__/releases-goproxy.spec.ts.snap
deleted file mode 100644
index d1652e2fb0f2dd73846b35f80bc511fae1ca0231..0000000000000000000000000000000000000000
--- a/lib/modules/datasource/go/__snapshots__/releases-goproxy.spec.ts.snap
+++ /dev/null
@@ -1,316 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`modules/datasource/go/releases-goproxy getReleases fetches release data from goproxy 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "proxy.golang.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://proxy.golang.org/github.com/google/btree/@v/list",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "proxy.golang.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://proxy.golang.org/github.com/google/btree/@v/v1.0.0.info",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "proxy.golang.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://proxy.golang.org/github.com/google/btree/@v/v1.0.1.info",
-  },
-]
-`;
-
-exports[`modules/datasource/go/releases-goproxy getReleases handles comma fallback 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "foo.example.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://foo.example.com/github.com/google/btree/@v/list",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "bar.example.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://bar.example.com/github.com/google/btree/@v/list",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "proxy.golang.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://proxy.golang.org/github.com/google/btree/@v/list",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "proxy.golang.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://proxy.golang.org/github.com/google/btree/@v/v1.0.0.info",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "proxy.golang.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://proxy.golang.org/github.com/google/btree/@v/v1.0.1.info",
-  },
-]
-`;
-
-exports[`modules/datasource/go/releases-goproxy getReleases handles pipe fallback 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "example.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://example.com/github.com/google/btree/@v/list",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "proxy.golang.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://proxy.golang.org/github.com/google/btree/@v/list",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "proxy.golang.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://proxy.golang.org/github.com/google/btree/@v/v1.0.0.info",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "proxy.golang.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://proxy.golang.org/github.com/google/btree/@v/v1.0.1.info",
-  },
-]
-`;
-
-exports[`modules/datasource/go/releases-goproxy getReleases handles timestamp fetch errors 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "proxy.golang.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://proxy.golang.org/github.com/google/btree/@v/list",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "proxy.golang.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://proxy.golang.org/github.com/google/btree/@v/v1.0.0.info",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "proxy.golang.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://proxy.golang.org/github.com/google/btree/@v/v1.0.1.info",
-  },
-]
-`;
-
-exports[`modules/datasource/go/releases-goproxy getReleases short-circuits for errors other than 404 or 410 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "foo.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://foo.com/github.com/foo/bar/@v/list",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "bar.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://bar.com/github.com/foo/bar/@v/list",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "baz.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://baz.com/github.com/foo/bar/@v/list",
-  },
-]
-`;
-
-exports[`modules/datasource/go/releases-goproxy getReleases skips GONOPROXY and GOPRIVATE packages 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/google/btree/tags?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/google/btree/releases?per_page=100",
-  },
-]
-`;
-
-exports[`modules/datasource/go/releases-goproxy getReleases supports "direct" keyword 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "foo.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://foo.com/github.com/foo/bar/@v/list",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "bar.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://bar.com/github.com/foo/bar/@v/list",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/foo/bar/tags?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/foo/bar/releases?per_page=100",
-  },
-]
-`;
-
-exports[`modules/datasource/go/releases-goproxy getReleases supports "off" keyword 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "foo.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://foo.com/github.com/foo/bar/@v/list",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "bar.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://bar.com/github.com/foo/bar/@v/list",
-  },
-]
-`;
-
-exports[`modules/datasource/go/releases-goproxy requests listVersions 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "proxy.golang.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://proxy.golang.org/github.com/go-kit/kit/@v/list",
-  },
-]
-`;
-
-exports[`modules/datasource/go/releases-goproxy requests versionInfo 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "proxy.golang.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://proxy.golang.org/github.com/go-kit/kit/@v/v0.5.0.info",
-  },
-]
-`;
diff --git a/lib/modules/datasource/go/index.spec.ts b/lib/modules/datasource/go/index.spec.ts
index 895be93f6910e88dd667c8dd3f71799622ee0516..37ae1d378cd5a829c27c4027cdb9bf397b4db5bd 100644
--- a/lib/modules/datasource/go/index.spec.ts
+++ b/lib/modules/datasource/go/index.spec.ts
@@ -101,7 +101,6 @@ describe('modules/datasource/go/index', () => {
         null
       );
       expect(res).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns null for wrong name', async () => {
       httpMock
@@ -113,7 +112,6 @@ describe('modules/datasource/go/index', () => {
         null
       );
       expect(res).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('supports gitlab digest', async () => {
       httpMock
@@ -151,7 +149,6 @@ describe('modules/datasource/go/index', () => {
         null
       );
       expect(res).toBe('abcdefabcdefabcdefabcdef');
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('support bitbucket digest', async () => {
       getDigestBitbucketMock.mockResolvedValueOnce('123');
@@ -164,7 +161,6 @@ describe('modules/datasource/go/index', () => {
       expect(res).toMatchSnapshot();
       expect(res).not.toBeNull();
       expect(res).toBeDefined();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 });
diff --git a/lib/modules/datasource/go/releases-direct.spec.ts b/lib/modules/datasource/go/releases-direct.spec.ts
index 15d2307f18f6106144282082a2938f1bf2e5747b..7b5b16c00d1ef0425f6b812d716c987ed8b0d483 100644
--- a/lib/modules/datasource/go/releases-direct.spec.ts
+++ b/lib/modules/datasource/go/releases-direct.spec.ts
@@ -56,7 +56,6 @@ describe('modules/datasource/go/releases-direct', () => {
       expect(res).toMatchSnapshot();
       expect(res).not.toBeNull();
       expect(res).toBeDefined();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('support gitlab', async () => {
       getDatasourceSpy.mockResolvedValueOnce({
@@ -74,7 +73,6 @@ describe('modules/datasource/go/releases-direct', () => {
       expect(res).toMatchSnapshot();
       expect(res).not.toBeNull();
       expect(res).toBeDefined();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('support self hosted gitlab private repositories', async () => {
       getDatasourceSpy.mockResolvedValueOnce({
@@ -93,7 +91,6 @@ describe('modules/datasource/go/releases-direct', () => {
       expect(res).toMatchSnapshot();
       expect(res).not.toBeNull();
       expect(res).toBeDefined();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('support bitbucket tags', async () => {
       getDatasourceSpy.mockResolvedValueOnce({
@@ -115,7 +112,6 @@ describe('modules/datasource/go/releases-direct', () => {
       expect(res).toMatchSnapshot();
       expect(res).not.toBeNull();
       expect(res).toBeDefined();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('support ghe', async () => {
       getDatasourceSpy.mockResolvedValueOnce({
@@ -135,7 +131,6 @@ describe('modules/datasource/go/releases-direct', () => {
       expect(res).toMatchSnapshot();
       expect(res).not.toBeNull();
       expect(res).toBeDefined();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('works for known servers', async () => {
       getDatasourceSpy.mockResolvedValueOnce({
@@ -176,9 +171,6 @@ describe('modules/datasource/go/releases-direct', () => {
         const res = await datasource.getReleases(pkg);
         expect(res.releases).toBeEmpty();
       }
-      const httpCalls = httpMock.getTrace();
-      expect(httpCalls).toHaveLength(6);
-      expect(httpCalls).toMatchSnapshot();
     });
     it('support gitlab subgroups', async () => {
       getDatasourceSpy.mockResolvedValueOnce({
@@ -198,7 +190,6 @@ describe('modules/datasource/go/releases-direct', () => {
       expect(res).toMatchSnapshot();
       expect(res).not.toBeNull();
       expect(res).toBeDefined();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('works for nested modules on github', async () => {
       getDatasourceSpy.mockResolvedValueOnce({
@@ -234,10 +225,6 @@ describe('modules/datasource/go/releases-direct', () => {
         const result = await datasource.getReleases(pkg);
         expect(result.releases).toHaveLength(1);
         expect(result.releases[0].version.startsWith(prefix)).toBeFalse();
-
-        const httpCalls = httpMock.getTrace();
-        expect(httpCalls).toMatchSnapshot();
-        httpMock.clear();
       }
     });
     it('returns none if no tags match submodules', async () => {
@@ -267,10 +254,6 @@ describe('modules/datasource/go/releases-direct', () => {
 
         const result = await datasource.getReleases(pkg);
         expect(result.releases).toHaveLength(0);
-
-        const httpCalls = httpMock.getTrace();
-        expect(httpCalls).toMatchSnapshot();
-        httpMock.clear();
       }
     });
     it('works for nested modules on github v2+ major upgrades', async () => {
@@ -299,9 +282,6 @@ describe('modules/datasource/go/releases-direct', () => {
         { gitRef: 'b/v2.0.0', version: 'v2.0.0' },
         { gitRef: 'b/v3.0.0', version: 'v3.0.0' },
       ]);
-
-      const httpCalls = httpMock.getTrace();
-      expect(httpCalls).toMatchSnapshot();
     });
   });
 });
diff --git a/lib/modules/datasource/go/releases-goproxy.spec.ts b/lib/modules/datasource/go/releases-goproxy.spec.ts
index e3c5655fc6488103db621013bac98e007633314e..a2bbec4a9d5de439f93bc09ef0c9dae1d054e0ac 100644
--- a/lib/modules/datasource/go/releases-goproxy.spec.ts
+++ b/lib/modules/datasource/go/releases-goproxy.spec.ts
@@ -25,7 +25,6 @@ describe('modules/datasource/go/releases-goproxy', () => {
 
       expect(versions).not.toBeEmpty();
       expect(versions).toHaveLength(10);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('versionInfo', async () => {
@@ -44,7 +43,6 @@ describe('modules/datasource/go/releases-goproxy', () => {
         version: 'v0.5.0',
         releaseTimestamp: '2017-06-08T17:28:36Z',
       });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 
@@ -288,7 +286,7 @@ describe('modules/datasource/go/releases-goproxy', () => {
       const res = await datasource.getReleases({
         packageName: 'github.com/google/btree',
       });
-      expect(httpMock.getTrace()).toMatchSnapshot();
+
       expect(res).toEqual({
         releases: [
           { gitRef: 'v1.0.0', version: 'v1.0.0' },
@@ -313,7 +311,7 @@ describe('modules/datasource/go/releases-goproxy', () => {
       const res = await datasource.getReleases({
         packageName: 'github.com/google/btree',
       });
-      expect(httpMock.getTrace()).toMatchSnapshot();
+
       expect(res).toEqual({
         releases: [
           { releaseTimestamp: '2018-08-13T15:31:12Z', version: 'v1.0.0' },
@@ -338,7 +336,7 @@ describe('modules/datasource/go/releases-goproxy', () => {
       const res = await datasource.getReleases({
         packageName: 'github.com/google/btree',
       });
-      expect(httpMock.getTrace()).toMatchSnapshot();
+
       expect(res).toEqual({
         releases: [{ version: 'v1.0.0' }, { version: 'v1.0.1' }],
         sourceUrl: 'https://github.com/google/btree',
@@ -365,7 +363,7 @@ describe('modules/datasource/go/releases-goproxy', () => {
       const res = await datasource.getReleases({
         packageName: 'github.com/google/btree',
       });
-      expect(httpMock.getTrace()).toMatchSnapshot();
+
       expect(res).toEqual({
         releases: [
           { releaseTimestamp: '2018-08-13T15:31:12Z', version: 'v1.0.0' },
@@ -404,7 +402,7 @@ describe('modules/datasource/go/releases-goproxy', () => {
       const res = await datasource.getReleases({
         packageName: 'github.com/google/btree',
       });
-      expect(httpMock.getTrace()).toMatchSnapshot();
+
       expect(res).toEqual({
         releases: [
           { releaseTimestamp: '2018-08-13T15:31:12Z', version: 'v1.0.0' },
@@ -440,12 +438,6 @@ describe('modules/datasource/go/releases-goproxy', () => {
       const res = await datasource.getReleases({
         packageName: 'github.com/foo/bar',
       });
-
-      expect(httpMock.getTrace()).toMatchSnapshot([
-        { method: 'GET', url: 'https://foo.com/github.com/foo/bar/@v/list' },
-        { method: 'GET', url: 'https://bar.com/github.com/foo/bar/@v/list' },
-        { method: 'GET', url: 'https://baz.com/github.com/foo/bar/@v/list' },
-      ]);
       expect(res).toBeNull();
     });
 
@@ -477,7 +469,6 @@ describe('modules/datasource/go/releases-goproxy', () => {
         packageName: 'github.com/foo/bar',
       });
 
-      expect(httpMock.getTrace()).toMatchSnapshot();
       expect(res).toEqual({
         releases: [
           { gitRef: 'v1.0.0', version: 'v1.0.0' },
@@ -506,10 +497,6 @@ describe('modules/datasource/go/releases-goproxy', () => {
         packageName: 'github.com/foo/bar',
       });
 
-      expect(httpMock.getTrace()).toMatchSnapshot([
-        { method: 'GET', url: 'https://foo.com/github.com/foo/bar/@v/list' },
-        { method: 'GET', url: 'https://bar.com/github.com/foo/bar/@v/list' },
-      ]);
       expect(res).toBeNull();
     });
   });
diff --git a/lib/modules/datasource/gradle-version/__snapshots__/index.spec.ts.snap b/lib/modules/datasource/gradle-version/__snapshots__/index.spec.ts.snap
index 01c7dbedede39c6baf7c5777dabcd22b151e9115..bf4ac681233e1b73358000d38796f9ded43bbcc4 100644
--- a/lib/modules/datasource/gradle-version/__snapshots__/index.spec.ts.snap
+++ b/lib/modules/datasource/gradle-version/__snapshots__/index.spec.ts.snap
@@ -1518,71 +1518,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/gradle-version/index getReleases calls configured registryUrls 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "foo.bar",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://foo.bar/",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "baz.qux",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "http://baz.qux/",
-  },
-]
-`;
-
-exports[`modules/datasource/gradle-version/index getReleases handles empty releases 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "services.gradle.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://services.gradle.org/versions/all",
-  },
-]
-`;
-
-exports[`modules/datasource/gradle-version/index getReleases handles errors 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "services.gradle.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://services.gradle.org/versions/all",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "baz.qux",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "http://baz.qux/",
-  },
-]
-`;
-
 exports[`modules/datasource/gradle-version/index getReleases processes real data 1`] = `
 Object {
   "homepage": "https://gradle.org",
@@ -2793,18 +2728,3 @@ Object {
   "sourceUrl": "https://github.com/gradle/gradle",
 }
 `;
-
-exports[`modules/datasource/gradle-version/index getReleases processes real data 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "services.gradle.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://services.gradle.org/versions/all",
-  },
-]
-`;
diff --git a/lib/modules/datasource/gradle-version/index.spec.ts b/lib/modules/datasource/gradle-version/index.spec.ts
index 6f273a95e7ac3327c72864a93c774c8083125171..ce97975706a0850b271c9912bfa1825bb001ccb4 100644
--- a/lib/modules/datasource/gradle-version/index.spec.ts
+++ b/lib/modules/datasource/gradle-version/index.spec.ts
@@ -34,7 +34,6 @@ describe('modules/datasource/gradle-version/index', () => {
       expect(
         res.releases.filter(({ isDeprecated }) => isDeprecated)
       ).toHaveLength(1);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('calls configured registryUrls', async () => {
@@ -54,7 +53,6 @@ describe('modules/datasource/gradle-version/index', () => {
       });
       expect(res).toMatchSnapshot();
       expect(res).not.toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('handles empty releases', async () => {
@@ -65,11 +63,10 @@ describe('modules/datasource/gradle-version/index', () => {
 
       const res = await getPkgReleases(config);
       expect(res).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('handles errors', async () => {
-      expect.assertions(3);
+      expect.assertions(2);
       httpMock
         .scope('https://services.gradle.org/')
         .get('/versions/all')
@@ -94,7 +91,6 @@ describe('modules/datasource/gradle-version/index', () => {
           })
         )
       ).rejects.toThrow(ExternalHostError);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 });
diff --git a/lib/modules/datasource/helm/__snapshots__/index.spec.ts.snap b/lib/modules/datasource/helm/__snapshots__/index.spec.ts.snap
index 70a2e5be144c229b25b8234f7ad7150583903124..b09bf24ad81d521885e354757435e7db7c59a153 100644
--- a/lib/modules/datasource/helm/__snapshots__/index.spec.ts.snap
+++ b/lib/modules/datasource/helm/__snapshots__/index.spec.ts.snap
@@ -1,19 +1,5 @@
 // Jest Snapshot v1, https://goo.gl/fbAQLP
 
-exports[`modules/datasource/helm/index getReleases adds trailing slash to subdirectories 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "example-repository.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://example-repository.com/subdir/index.yaml",
-  },
-]
-`;
-
 exports[`modules/datasource/helm/index getReleases returns list of versions for normal response 1`] = `
 Object {
   "homepage": "https://www.getambassador.io/",
@@ -131,130 +117,4 @@ Object {
 }
 `;
 
-exports[`modules/datasource/helm/index getReleases returns list of versions for normal response 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "example-repository.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://example-repository.com/index.yaml",
-  },
-]
-`;
-
-exports[`modules/datasource/helm/index getReleases returns null for 404 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "example-repository.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://example-repository.com/index.yaml",
-  },
-]
-`;
-
-exports[`modules/datasource/helm/index getReleases returns null for empty response 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "example-repository.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://example-repository.com/index.yaml",
-  },
-]
-`;
-
-exports[`modules/datasource/helm/index getReleases returns null for missing response body 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "example-repository.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://example-repository.com/index.yaml",
-  },
-]
-`;
-
-exports[`modules/datasource/helm/index getReleases returns null for unknown error 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "example-repository.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://example-repository.com/index.yaml",
-  },
-]
-`;
-
-exports[`modules/datasource/helm/index getReleases returns null if index.yaml in response is empty 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "example-repository.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://example-repository.com/index.yaml",
-  },
-]
-`;
-
-exports[`modules/datasource/helm/index getReleases returns null if index.yaml in response is invalid 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "example-repository.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://example-repository.com/index.yaml",
-  },
-]
-`;
-
-exports[`modules/datasource/helm/index getReleases returns null if packageName is not in index.yaml 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "example-repository.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://example-repository.com/index.yaml",
-  },
-]
-`;
-
 exports[`modules/datasource/helm/index getReleases throws for 5xx 1`] = `[Error: external-host-error]`;
-
-exports[`modules/datasource/helm/index getReleases throws for 5xx 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "example-repository.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://example-repository.com/index.yaml",
-  },
-]
-`;
diff --git a/lib/modules/datasource/helm/index.spec.ts b/lib/modules/datasource/helm/index.spec.ts
index 9fe55aef104cd7999e6fda7bfdab467687bbb3f4..e0c58b92c3fbf0c9436de3d98d9867ee986b4857 100644
--- a/lib/modules/datasource/helm/index.spec.ts
+++ b/lib/modules/datasource/helm/index.spec.ts
@@ -47,7 +47,6 @@ describe('modules/datasource/helm/index', () => {
           registryUrls: ['https://example-repository.com'],
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns null for missing response body', async () => {
       httpMock
@@ -61,7 +60,6 @@ describe('modules/datasource/helm/index', () => {
           registryUrls: ['https://example-repository.com'],
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns null for 404', async () => {
       httpMock
@@ -75,7 +73,6 @@ describe('modules/datasource/helm/index', () => {
           registryUrls: ['https://example-repository.com'],
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('throws for 5xx', async () => {
       httpMock
@@ -94,7 +91,6 @@ describe('modules/datasource/helm/index', () => {
       }
       expect(e).toBeDefined();
       expect(e).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns null for unknown error', async () => {
       httpMock
@@ -108,7 +104,6 @@ describe('modules/datasource/helm/index', () => {
           registryUrls: ['https://example-repository.com'],
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns null if index.yaml in response is empty', async () => {
       httpMock
@@ -121,7 +116,6 @@ describe('modules/datasource/helm/index', () => {
         registryUrls: ['https://example-repository.com'],
       });
       expect(releases).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns null if index.yaml in response is invalid', async () => {
       const res = {
@@ -140,7 +134,6 @@ describe('modules/datasource/helm/index', () => {
         registryUrls: ['https://example-repository.com'],
       });
       expect(releases).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns null if packageName is not in index.yaml', async () => {
       httpMock
@@ -153,7 +146,6 @@ describe('modules/datasource/helm/index', () => {
         registryUrls: ['https://example-repository.com'],
       });
       expect(releases).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns list of versions for normal response', async () => {
       httpMock
@@ -167,23 +159,24 @@ describe('modules/datasource/helm/index', () => {
       });
       expect(releases).not.toBeNull();
       expect(releases).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('adds trailing slash to subdirectories', async () => {
       httpMock
         .scope('https://example-repository.com')
         .get('/subdir/index.yaml')
         .reply(200, indexYaml);
-      await getPkgReleases({
+      const res = await getPkgReleases({
         datasource: HelmDatasource.id,
         depName: 'ambassador',
         registryUrls: ['https://example-repository.com/subdir'],
       });
-      const trace = httpMock.getTrace();
-      expect(trace[0].url).toBe(
-        'https://example-repository.com/subdir/index.yaml'
-      );
-      expect(trace).toMatchSnapshot();
+
+      expect(res).toMatchObject({
+        homepage: 'https://www.getambassador.io/',
+        registryUrl: 'https://example-repository.com/subdir',
+        sourceUrl: 'https://github.com/datawire/ambassador',
+        releases: expect.toBeArrayOfSize(27),
+      });
     });
   });
 });
diff --git a/lib/modules/datasource/hex/__snapshots__/index.spec.ts.snap b/lib/modules/datasource/hex/__snapshots__/index.spec.ts.snap
index 759ed6e217a8a21df1ea22f0678a1e5a14ad7cb6..ba94cd7b673e83b65946e719ea2239f6b52edee1 100644
--- a/lib/modules/datasource/hex/__snapshots__/index.spec.ts.snap
+++ b/lib/modules/datasource/hex/__snapshots__/index.spec.ts.snap
@@ -89,21 +89,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/hex/index getReleases process public repo without auth 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "hex.pm",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://hex.pm/api/packages/certifi",
-  },
-]
-`;
-
 exports[`modules/datasource/hex/index getReleases processes a private repo with auth 1`] = `
 Object {
   "homepage": "https://hex.pm/packages/renovate_test/private_package",
@@ -121,22 +106,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/hex/index getReleases processes a private repo with auth 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "abc",
-      "host": "hex.pm",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://hex.pm/api/repos/renovate_test/packages/private_package",
-  },
-]
-`;
-
 exports[`modules/datasource/hex/index getReleases processes real data 1`] = `
 Object {
   "homepage": "https://hex.pm/packages/certifi",
@@ -225,139 +194,3 @@ Object {
   "sourceUrl": "https://github.com/certifi/erlang-certifi",
 }
 `;
-
-exports[`modules/datasource/hex/index getReleases processes real data 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "hex.pm",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://hex.pm/api/packages/certifi",
-  },
-]
-`;
-
-exports[`modules/datasource/hex/index getReleases returns null for 401 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "hex.pm",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://hex.pm/api/packages/some_package",
-  },
-]
-`;
-
-exports[`modules/datasource/hex/index getReleases returns null for 404 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "hex.pm",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://hex.pm/api/packages/some_package",
-  },
-]
-`;
-
-exports[`modules/datasource/hex/index getReleases returns null for empty result 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "hex.pm",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://hex.pm/api/packages/non_existent_package",
-  },
-]
-`;
-
-exports[`modules/datasource/hex/index getReleases returns null for missing fields 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "hex.pm",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://hex.pm/api/packages/non_existent_package",
-  },
-]
-`;
-
-exports[`modules/datasource/hex/index getReleases returns null for unknown error 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "hex.pm",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://hex.pm/api/packages/some_package",
-  },
-]
-`;
-
-exports[`modules/datasource/hex/index getReleases returns null with wrong auth token 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "abc",
-      "host": "hex.pm",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://hex.pm/api/packages/certifi",
-  },
-]
-`;
-
-exports[`modules/datasource/hex/index getReleases throws for 5xx 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "hex.pm",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://hex.pm/api/packages/some_crate",
-  },
-]
-`;
-
-exports[`modules/datasource/hex/index getReleases throws for 429 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "hex.pm",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://hex.pm/api/packages/some_crate",
-  },
-]
-`;
diff --git a/lib/modules/datasource/hex/index.spec.ts b/lib/modules/datasource/hex/index.spec.ts
index 511f01baf5e2e66cf71b65d4607102fc67dbb226..1ad085bc70abd6c3ee8905d1ece02dc8b837d05c 100644
--- a/lib/modules/datasource/hex/index.spec.ts
+++ b/lib/modules/datasource/hex/index.spec.ts
@@ -34,7 +34,6 @@ describe('modules/datasource/hex/index', () => {
           depName: 'non_existent_package',
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns null for missing fields', async () => {
       httpMock
@@ -47,42 +46,36 @@ describe('modules/datasource/hex/index', () => {
           depName: 'non_existent_package',
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns null for 404', async () => {
       httpMock.scope(baseUrl).get('/packages/some_package').reply(404);
       expect(
         await getPkgReleases({ datasource, depName: 'some_package' })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns null for 401', async () => {
       httpMock.scope(baseUrl).get('/packages/some_package').reply(401);
       expect(
         await getPkgReleases({ datasource, depName: 'some_package' })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('throws for 429', async () => {
       httpMock.scope(baseUrl).get('/packages/some_crate').reply(429);
       await expect(
         getPkgReleases({ datasource, depName: 'some_crate' })
       ).rejects.toThrow(EXTERNAL_HOST_ERROR);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('throws for 5xx', async () => {
       httpMock.scope(baseUrl).get('/packages/some_crate').reply(502);
       await expect(
         getPkgReleases({ datasource, depName: 'some_crate' })
       ).rejects.toThrow(EXTERNAL_HOST_ERROR);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns null for unknown error', async () => {
       httpMock.scope(baseUrl).get('/packages/some_package').replyWithError('');
       expect(
         await getPkgReleases({ datasource, depName: 'some_package' })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('returns null with wrong auth token', async () => {
@@ -106,7 +99,6 @@ describe('modules/datasource/hex/index', () => {
       });
 
       expect(res).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('processes real data', async () => {
@@ -121,7 +113,6 @@ describe('modules/datasource/hex/index', () => {
       expect(res).toMatchSnapshot();
       expect(res).not.toBeNull();
       expect(res).toBeDefined();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('process public repo without auth', async () => {
       httpMock
@@ -136,7 +127,6 @@ describe('modules/datasource/hex/index', () => {
       expect(res).toMatchSnapshot();
       expect(res).not.toBeNull();
       expect(res).toBeDefined();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('processes a private repo with auth', async () => {
@@ -160,7 +150,6 @@ describe('modules/datasource/hex/index', () => {
       });
 
       expect(result).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
 
       expect(result).toEqual({
         homepage: 'https://hex.pm/packages/renovate_test/private_package',
diff --git a/lib/modules/datasource/maven/__snapshots__/index.spec.ts.snap b/lib/modules/datasource/maven/__snapshots__/index.spec.ts.snap
index 250e6556160c8491a62d0fa7d52da6e2132c522d..b1e57949515fd093d8e70a2966ce5d93073247da 100644
--- a/lib/modules/datasource/maven/__snapshots__/index.spec.ts.snap
+++ b/lib/modules/datasource/maven/__snapshots__/index.spec.ts.snap
@@ -1,166 +1,5 @@
 // Jest Snapshot v1, https://goo.gl/fbAQLP
 
-exports[`modules/datasource/maven/index collects releases from all registry urls 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/index.html",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.3-SNAPSHOT/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/0.0.1/package-0.0.1.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.0/package-1.0.0.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.1/package-1.0.1.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.2/package-1.0.2.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.3-SNAPSHOT/package-1.0.3-20200101.010003-3.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.4-SNAPSHOT/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.5-SNAPSHOT/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/2.0.0/package-2.0.0.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.4-SNAPSHOT/package-1.0.4-SNAPSHOT.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.5-SNAPSHOT/package-1.0.5-SNAPSHOT.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/2.0.0/package-2.0.0.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "custom.registry.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://custom.registry.renovatebot.com/org/example/package/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "custom.registry.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://custom.registry.renovatebot.com/org/example/package/3.0.0/package-3.0.0.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "custom.registry.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://custom.registry.renovatebot.com/org/example/package/3.0.0/package-3.0.0.pom",
-  },
-]
-`;
-
 exports[`modules/datasource/maven/index falls back to next registry url 1`] = `
 Object {
   "display": "org.example:package",
@@ -180,1017 +19,30 @@ Object {
       "releaseTimestamp": "2020-01-01T01:00:03.000Z",
       "version": "1.0.3-SNAPSHOT",
     },
-    Object {
-      "releaseTimestamp": "2020-01-01T02:00:00.000Z",
-      "version": "2.0.0",
-    },
-  ],
-}
-`;
-
-exports[`modules/datasource/maven/index falls back to next registry url 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "failed_repo",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://failed_repo/org/example/package/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "unauthorized_repo",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://unauthorized_repo/org/example/package/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "empty_repo",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://empty_repo/org/example/package/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "unknown_error",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://unknown_error/org/example/package/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/index.html",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.3-SNAPSHOT/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/0.0.1/package-0.0.1.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.0/package-1.0.0.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.1/package-1.0.1.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.2/package-1.0.2.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.3-SNAPSHOT/package-1.0.3-20200101.010003-3.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.4-SNAPSHOT/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.5-SNAPSHOT/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/2.0.0/package-2.0.0.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.4-SNAPSHOT/package-1.0.4-SNAPSHOT.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.5-SNAPSHOT/package-1.0.5-SNAPSHOT.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/2.0.0/package-2.0.0.pom",
-  },
-]
-`;
-
-exports[`modules/datasource/maven/index fetching parent info should be able to detect git://@github.com/child-scm as valid sourceUrl 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/index.html",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/2.0.0/package-2.0.0.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/2.0.0/package-2.0.0.pom",
-  },
-]
-`;
-
-exports[`modules/datasource/maven/index fetching parent info should be able to detect git@github.com/child-scm as valid sourceUrl 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/index.html",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/2.0.0/package-2.0.0.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/2.0.0/package-2.0.0.pom",
-  },
-]
-`;
-
-exports[`modules/datasource/maven/index fetching parent info should be able to detect git@github.com:child-scm as valid sourceUrl 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/index.html",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/2.0.0/package-2.0.0.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/2.0.0/package-2.0.0.pom",
-  },
-]
-`;
-
-exports[`modules/datasource/maven/index fetching parent info should deal with circular hierarchy 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/child/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/child/index.html",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/child/2.0.0/child-2.0.0.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/child/2.0.0/child-2.0.0.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/parent/2.0.0/parent-2.0.0.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/child/2.0.0/child-2.0.0.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/parent/2.0.0/parent-2.0.0.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/child/2.0.0/child-2.0.0.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/parent/2.0.0/parent-2.0.0.pom",
-  },
-]
-`;
-
-exports[`modules/datasource/maven/index fetching parent info should deal with missing parent fields 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/index.html",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/2.0.0/package-2.0.0.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/2.0.0/package-2.0.0.pom",
-  },
-]
-`;
-
-exports[`modules/datasource/maven/index fetching parent info should get homepage and source from own pom 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/index.html",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/2.0.0/package-2.0.0.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/2.0.0/package-2.0.0.pom",
-  },
-]
-`;
-
-exports[`modules/datasource/maven/index fetching parent info should get homepage from own pom and source from parent 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/index.html",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/2.0.0/package-2.0.0.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/2.0.0/package-2.0.0.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/parent/1.0.0/parent-1.0.0.pom",
-  },
-]
-`;
-
-exports[`modules/datasource/maven/index fetching parent info should get source and homepage from parent 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/index.html",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/2.0.0/package-2.0.0.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/2.0.0/package-2.0.0.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/parent/1.0.0/parent-1.0.0.pom",
-  },
-]
-`;
-
-exports[`modules/datasource/maven/index fetching parent info should get source from own pom and homepage from parent 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/index.html",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/2.0.0/package-2.0.0.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/2.0.0/package-2.0.0.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/parent/1.0.0/parent-1.0.0.pom",
-  },
-]
-`;
-
-exports[`modules/datasource/maven/index handles optional slash at the end of registry url 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/index.html",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.3-SNAPSHOT/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/0.0.1/package-0.0.1.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.0/package-1.0.0.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.1/package-1.0.1.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.2/package-1.0.2.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.3-SNAPSHOT/package-1.0.3-20200101.010003-3.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.4-SNAPSHOT/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.5-SNAPSHOT/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/2.0.0/package-2.0.0.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.4-SNAPSHOT/package-1.0.4-SNAPSHOT.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.5-SNAPSHOT/package-1.0.5-SNAPSHOT.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/2.0.0/package-2.0.0.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/index.html",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.3-SNAPSHOT/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/0.0.1/package-0.0.1.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.0/package-1.0.0.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.1/package-1.0.1.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.2/package-1.0.2.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.3-SNAPSHOT/package-1.0.3-20200101.010003-3.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.4-SNAPSHOT/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.5-SNAPSHOT/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/2.0.0/package-2.0.0.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.4-SNAPSHOT/package-1.0.4-SNAPSHOT.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.5-SNAPSHOT/package-1.0.5-SNAPSHOT.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/2.0.0/package-2.0.0.pom",
-  },
-]
-`;
-
-exports[`modules/datasource/maven/index ignores unsupported protocols 1`] = `
-Array [
-  Object {
-    "version": "0.0.1",
-  },
-  Object {
-    "releaseTimestamp": "2020-01-01T01:00:00.000Z",
-    "version": "1.0.0",
-  },
-  Object {
-    "releaseTimestamp": "2020-01-01T01:00:03.000Z",
-    "version": "1.0.3-SNAPSHOT",
-  },
-  Object {
-    "releaseTimestamp": "2020-01-01T02:00:00.000Z",
-    "version": "2.0.0",
-  },
-]
-`;
-
-exports[`modules/datasource/maven/index ignores unsupported protocols 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "http://repo.maven.apache.org/maven2/org/example/package/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "http://repo.maven.apache.org/maven2/org/example/package/1.0.3-SNAPSHOT/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "http://repo.maven.apache.org/maven2/org/example/package/0.0.1/package-0.0.1.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "http://repo.maven.apache.org/maven2/org/example/package/1.0.0/package-1.0.0.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "http://repo.maven.apache.org/maven2/org/example/package/1.0.1/package-1.0.1.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "http://repo.maven.apache.org/maven2/org/example/package/1.0.2/package-1.0.2.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "http://repo.maven.apache.org/maven2/org/example/package/1.0.3-SNAPSHOT/package-1.0.3-20200101.010003-3.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "http://repo.maven.apache.org/maven2/org/example/package/1.0.4-SNAPSHOT/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
+    Object {
+      "releaseTimestamp": "2020-01-01T02:00:00.000Z",
+      "version": "2.0.0",
     },
-    "method": "GET",
-    "url": "http://repo.maven.apache.org/maven2/org/example/package/1.0.5-SNAPSHOT/maven-metadata.xml",
-  },
+  ],
+}
+`;
+
+exports[`modules/datasource/maven/index ignores unsupported protocols 1`] = `
+Array [
   Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "http://repo.maven.apache.org/maven2/org/example/package/2.0.0/package-2.0.0.pom",
+    "version": "0.0.1",
   },
   Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "http://repo.maven.apache.org/maven2/org/example/package/1.0.4-SNAPSHOT/package-1.0.4-SNAPSHOT.pom",
+    "releaseTimestamp": "2020-01-01T01:00:00.000Z",
+    "version": "1.0.0",
   },
   Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "http://repo.maven.apache.org/maven2/org/example/package/1.0.5-SNAPSHOT/package-1.0.5-SNAPSHOT.pom",
+    "releaseTimestamp": "2020-01-01T01:00:03.000Z",
+    "version": "1.0.3-SNAPSHOT",
   },
   Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "http://repo.maven.apache.org/maven2/org/example/package/2.0.0/package-2.0.0.pom",
+    "releaseTimestamp": "2020-01-01T02:00:00.000Z",
+    "version": "2.0.0",
   },
 ]
 `;
@@ -1231,104 +83,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/maven/index removes authentication header after redirect 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic dXNlcm5hbWU6cGFzc3dvcmQ=",
-      "host": "frontend_for_private_s3_repository",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://frontend_for_private_s3_repository/maven2/org/example/package/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "private_s3_repository",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://private_s3_repository/maven2/org/example/package/maven-metadata.xml?X-Amz-Algorithm=AWS4-HMAC-SHA256",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic dXNlcm5hbWU6cGFzc3dvcmQ=",
-      "host": "frontend_for_private_s3_repository",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://frontend_for_private_s3_repository/maven2/org/example/package/2.0.0/package-2.0.0.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "private_s3_repository",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://private_s3_repository/maven2/org/example/package/2.0.0/package-2.0.0.pom?X-Amz-Algorithm=AWS4-HMAC-SHA256",
-  },
-]
-`;
-
-exports[`modules/datasource/maven/index returns html-based releases 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/index.html",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/2.0.0/package-2.0.0.pom",
-  },
-]
-`;
-
-exports[`modules/datasource/maven/index returns null when metadata is not found 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/index.html",
-  },
-]
-`;
-
 exports[`modules/datasource/maven/index returns releases 1`] = `
 Object {
   "display": "org.example:package",
@@ -1356,137 +110,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/maven/index returns releases 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/index.html",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.3-SNAPSHOT/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/0.0.1/package-0.0.1.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.0/package-1.0.0.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.1/package-1.0.1.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.2/package-1.0.2.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.3-SNAPSHOT/package-1.0.3-20200101.010003-3.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.4-SNAPSHOT/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.5-SNAPSHOT/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/2.0.0/package-2.0.0.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.4-SNAPSHOT/package-1.0.4-SNAPSHOT.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.5-SNAPSHOT/package-1.0.5-SNAPSHOT.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/2.0.0/package-2.0.0.pom",
-  },
-]
-`;
-
 exports[`modules/datasource/maven/index returns releases from custom repository 1`] = `
 Object {
   "display": "org.example:package",
@@ -1514,141 +137,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/maven/index returns releases from custom repository 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "custom.registry.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://custom.registry.renovatebot.com/org/example/package/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "custom.registry.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://custom.registry.renovatebot.com/org/example/package/1.0.3-SNAPSHOT/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "custom.registry.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://custom.registry.renovatebot.com/org/example/package/0.0.1/package-0.0.1.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "custom.registry.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://custom.registry.renovatebot.com/org/example/package/1.0.0/package-1.0.0.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "custom.registry.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://custom.registry.renovatebot.com/org/example/package/1.0.1/package-1.0.1.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "custom.registry.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://custom.registry.renovatebot.com/org/example/package/1.0.2/package-1.0.2.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "custom.registry.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://custom.registry.renovatebot.com/org/example/package/1.0.3-SNAPSHOT/package-1.0.3-20200101.010003-3.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "custom.registry.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://custom.registry.renovatebot.com/org/example/package/1.0.4-SNAPSHOT/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "custom.registry.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://custom.registry.renovatebot.com/org/example/package/1.0.5-SNAPSHOT/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "custom.registry.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://custom.registry.renovatebot.com/org/example/package/2.0.0/package-2.0.0.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "custom.registry.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://custom.registry.renovatebot.com/org/example/package/1.0.4-SNAPSHOT/package-1.0.4-SNAPSHOT.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "custom.registry.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://custom.registry.renovatebot.com/org/example/package/1.0.5-SNAPSHOT/package-1.0.5-SNAPSHOT.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "custom.registry.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://custom.registry.renovatebot.com/org/example/package/2.0.0/package-2.0.0.pom",
-  },
-]
-`;
-
 exports[`modules/datasource/maven/index skips registry with invalid XML 1`] = `
 Object {
   "display": "org.example:package",
@@ -1676,146 +164,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/maven/index skips registry with invalid XML 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "invalid_metadata_repo",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://invalid_metadata_repo/org/example/package/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/index.html",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.3-SNAPSHOT/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/0.0.1/package-0.0.1.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.0/package-1.0.0.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.1/package-1.0.1.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.2/package-1.0.2.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.3-SNAPSHOT/package-1.0.3-20200101.010003-3.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.4-SNAPSHOT/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.5-SNAPSHOT/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/2.0.0/package-2.0.0.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.4-SNAPSHOT/package-1.0.4-SNAPSHOT.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.5-SNAPSHOT/package-1.0.5-SNAPSHOT.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/2.0.0/package-2.0.0.pom",
-  },
-]
-`;
-
 exports[`modules/datasource/maven/index skips registry with invalid metadata structure 1`] = `
 Object {
   "display": "org.example:package",
@@ -1842,157 +190,3 @@ Object {
   ],
 }
 `;
-
-exports[`modules/datasource/maven/index skips registry with invalid metadata structure 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "invalid_metadata_repo",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://invalid_metadata_repo/org/example/package/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/index.html",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.3-SNAPSHOT/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/0.0.1/package-0.0.1.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.0/package-1.0.0.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.1/package-1.0.1.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.2/package-1.0.2.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.3-SNAPSHOT/package-1.0.3-20200101.010003-3.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.4-SNAPSHOT/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.5-SNAPSHOT/maven-metadata.xml",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/2.0.0/package-2.0.0.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.4-SNAPSHOT/package-1.0.4-SNAPSHOT.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/1.0.5-SNAPSHOT/package-1.0.5-SNAPSHOT.pom",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/2.0.0/package-2.0.0.pom",
-  },
-]
-`;
-
-exports[`modules/datasource/maven/index throws EXTERNAL_HOST_ERROR for 50x 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repo.maven.apache.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repo.maven.apache.org/maven2/org/example/package/maven-metadata.xml",
-  },
-]
-`;
diff --git a/lib/modules/datasource/maven/index.spec.ts b/lib/modules/datasource/maven/index.spec.ts
index 2b7658ede63a11f2eb531301ea3e8315a1ef3839..1af3e51adbae61346138420e474914d6500a3e5b 100644
--- a/lib/modules/datasource/maven/index.spec.ts
+++ b/lib/modules/datasource/maven/index.spec.ts
@@ -179,7 +179,6 @@ describe('modules/datasource/maven/index', () => {
     const res = await get();
 
     expect(res).toBeNull();
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
 
   it('returns releases', async () => {
@@ -188,7 +187,6 @@ describe('modules/datasource/maven/index', () => {
     const res = await get();
 
     expect(res).toMatchSnapshot();
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
 
   it('returns html-based releases', async () => {
@@ -217,7 +215,6 @@ describe('modules/datasource/maven/index', () => {
         { version: '2.0.0', releaseTimestamp: '2021-06-18T16:24:00.000Z' },
       ],
     });
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
 
   it('returns releases from custom repository', async () => {
@@ -226,7 +223,6 @@ describe('modules/datasource/maven/index', () => {
     const res = await get('org.example:package', baseUrlCustom);
 
     expect(res).toMatchSnapshot();
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
 
   it('collects releases from all registry urls', async () => {
@@ -252,7 +248,6 @@ describe('modules/datasource/maven/index', () => {
       { version: '2.0.0' },
       { version: '3.0.0' },
     ]);
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
 
   it('falls back to next registry url', async () => {
@@ -284,7 +279,6 @@ describe('modules/datasource/maven/index', () => {
     );
 
     expect(res).toMatchSnapshot();
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
 
   it('throws EXTERNAL_HOST_ERROR for 50x', async () => {
@@ -294,8 +288,6 @@ describe('modules/datasource/maven/index', () => {
       .reply(503);
 
     await expect(get()).rejects.toThrow(EXTERNAL_HOST_ERROR);
-
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
 
   it('ignores unsupported protocols', async () => {
@@ -310,7 +302,6 @@ describe('modules/datasource/maven/index', () => {
     );
 
     expect(releases).toMatchSnapshot();
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
 
   it('skips registry with invalid metadata structure', async () => {
@@ -327,7 +318,6 @@ describe('modules/datasource/maven/index', () => {
     );
 
     expect(res).toMatchSnapshot();
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
 
   it('skips registry with invalid XML', async () => {
@@ -344,7 +334,6 @@ describe('modules/datasource/maven/index', () => {
     );
 
     expect(res).toMatchSnapshot();
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
 
   it('handles optional slash at the end of registry url', async () => {
@@ -355,7 +344,6 @@ describe('modules/datasource/maven/index', () => {
     expect(resA).not.toBeNull();
     expect(resB).not.toBeNull();
     expect(resA.releases).toEqual(resB.releases);
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
 
   it('returns null for invalid registryUrls', async () => {
@@ -416,7 +404,6 @@ describe('modules/datasource/maven/index', () => {
     const res = await get('org.example:package', frontendUrl);
 
     expect(res).toMatchSnapshot();
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
 
   describe('fetching parent info', () => {
@@ -446,7 +433,6 @@ describe('modules/datasource/maven/index', () => {
         sourceUrl: 'https://github.com/parent-scm/parent',
         homepage: 'https://parent-home.example.com',
       });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('should deal with missing parent fields', async () => {
@@ -468,7 +454,6 @@ describe('modules/datasource/maven/index', () => {
       });
       expect(res).not.toHaveProperty('homepage');
       expect(res).not.toHaveProperty('sourceUrl');
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('should deal with circular hierarchy', async () => {
@@ -511,7 +496,6 @@ describe('modules/datasource/maven/index', () => {
       expect(res).toMatchObject({
         homepage: 'https://parent-home.example.com',
       });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('should get source from own pom and homepage from parent', async () => {
@@ -531,7 +515,6 @@ describe('modules/datasource/maven/index', () => {
         sourceUrl: 'https://github.com/child-scm/child',
         homepage: 'https://parent-home.example.com',
       });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('should get homepage from own pom and source from parent', async () => {
@@ -551,7 +534,6 @@ describe('modules/datasource/maven/index', () => {
         sourceUrl: 'https://github.com/parent-scm/parent',
         homepage: 'https://child-home.example.com',
       });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('should get homepage and source from own pom', async () => {
@@ -570,7 +552,6 @@ describe('modules/datasource/maven/index', () => {
         sourceUrl: 'https://github.com/child-scm/child',
         homepage: 'https://child-home.example.com',
       });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('should be able to detect git@github.com:child-scm as valid sourceUrl', async () => {
@@ -588,7 +569,6 @@ describe('modules/datasource/maven/index', () => {
       expect(res).toMatchObject({
         sourceUrl: 'https://github.com/child-scm/child',
       });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('should be able to detect git@github.com/child-scm as valid sourceUrl', async () => {
@@ -606,7 +586,6 @@ describe('modules/datasource/maven/index', () => {
       expect(res).toMatchObject({
         sourceUrl: 'https://github.com/child-scm/child',
       });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('should be able to detect git://@github.com/child-scm as valid sourceUrl', async () => {
       mockGenericPackage({
@@ -623,7 +602,6 @@ describe('modules/datasource/maven/index', () => {
       expect(res).toMatchObject({
         sourceUrl: 'https://github.com/child-scm/child',
       });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 });
diff --git a/lib/modules/datasource/npm/__snapshots__/get.spec.ts.snap b/lib/modules/datasource/npm/__snapshots__/get.spec.ts.snap
deleted file mode 100644
index 915e58268aa536ade1101741d0bcbfee241d3acc..0000000000000000000000000000000000000000
--- a/lib/modules/datasource/npm/__snapshots__/get.spec.ts.snap
+++ /dev/null
@@ -1,488 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`modules/datasource/npm/get cover all paths 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer XXX",
-      "host": "test.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://test.org/none",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer XXX",
-      "host": "test.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://test.org/@myco%2Ftest",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer XXX",
-      "host": "test.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://test.org/@myco%2Ftest2",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer XXX",
-      "host": "test.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://test.org/error-401",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer XXX",
-      "host": "test.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://test.org/error-402",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer XXX",
-      "host": "test.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://test.org/error-404",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer XXX",
-      "host": "test.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://test.org/error4",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer XXX",
-      "host": "registry.npmjs.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.npmjs.org/npm-parse-error",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer XXX",
-      "host": "registry.npmjs.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.npmjs.org/npm-error-402",
-  },
-]
-`;
-
-exports[`modules/datasource/npm/get has basic auth "@myco:registry=https://test.org
-//test.org/:_auth=dGVzdDp0ZXN0" 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic dGVzdDp0ZXN0",
-      "host": "test.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://test.org/@myco%2Ftest",
-  },
-]
-`;
-
-exports[`modules/datasource/npm/get has basic auth "@myco:registry=https://test.org
-_auth=dGVzdDp0ZXN0" 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic dGVzdDp0ZXN0",
-      "host": "test.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://test.org/@myco%2Ftest",
-  },
-]
-`;
-
-exports[`modules/datasource/npm/get has basic auth "registry=https://test.org
-//test.org/:_auth=dGVzdDp0ZXN0" 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic dGVzdDp0ZXN0",
-      "host": "test.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://test.org/@myco%2Ftest",
-  },
-]
-`;
-
-exports[`modules/datasource/npm/get has basic auth "registry=https://test.org
-//test.org/:username=test
-//test.org/:_password=dGVzdA==" 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic dGVzdDp0ZXN0",
-      "host": "test.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://test.org/@myco%2Ftest",
-  },
-]
-`;
-
-exports[`modules/datasource/npm/get has basic auth "registry=https://test.org
-_auth=dGVzdDp0ZXN0" 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic dGVzdDp0ZXN0",
-      "host": "test.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://test.org/@myco%2Ftest",
-  },
-]
-`;
-
-exports[`modules/datasource/npm/get has basic auth "registry=https://test.org
-_auth=dGVzdDp0ZXN0" 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic dGVzdDp0ZXN0",
-      "host": "test.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://test.org/@myco%2Ftest",
-  },
-]
-`;
-
-exports[`modules/datasource/npm/get has basic auth "registry=https://test.org/sub
-//test.org/:_auth=dGVzdDp0ZXN0" 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic dGVzdDp0ZXN0",
-      "host": "test.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://test.org/sub/@myco%2Ftest",
-  },
-]
-`;
-
-exports[`modules/datasource/npm/get has basic auth "registry=https://test.org/sub
-//test.org/sub/:_auth=dGVzdDp0ZXN0" 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic dGVzdDp0ZXN0",
-      "host": "test.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://test.org/sub/@myco%2Ftest",
-  },
-]
-`;
-
-exports[`modules/datasource/npm/get has basic auth "registry=https://test.org/sub
-_auth=dGVzdDp0ZXN0" 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic dGVzdDp0ZXN0",
-      "host": "test.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://test.org/sub/@myco%2Ftest",
-  },
-]
-`;
-
-exports[`modules/datasource/npm/get has bearer auth "@myco:registry=https://test.org
-//test.org/:_authToken=XXX" 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer XXX",
-      "host": "test.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://test.org/@myco%2Ftest",
-  },
-]
-`;
-
-exports[`modules/datasource/npm/get has bearer auth "registry=https://test.org
-//test.org/:_authToken=XXX" 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer XXX",
-      "host": "test.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://test.org/@myco%2Ftest",
-  },
-]
-`;
-
-exports[`modules/datasource/npm/get has bearer auth "registry=https://test.org
-_authToken=XXX" 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer XXX",
-      "host": "test.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://test.org/@myco%2Ftest",
-  },
-]
-`;
-
-exports[`modules/datasource/npm/get has bearer auth "registry=https://test.org
-_authToken=XXX" 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer XXX",
-      "host": "test.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://test.org/@myco%2Ftest",
-  },
-]
-`;
-
-exports[`modules/datasource/npm/get has bearer auth "registry=https://test.org/sub
-//test.org/:_authToken=XXX" 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer XXX",
-      "host": "test.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://test.org/sub/@myco%2Ftest",
-  },
-]
-`;
-
-exports[`modules/datasource/npm/get has bearer auth "registry=https://test.org/sub
-//test.org/sub/:_authToken=XXX" 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer XXX",
-      "host": "test.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://test.org/sub/@myco%2Ftest",
-  },
-]
-`;
-
-exports[`modules/datasource/npm/get has bearer auth "registry=https://test.org/sub
-_authToken=XXX" 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer XXX",
-      "host": "test.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://test.org/sub/@myco%2Ftest",
-  },
-]
-`;
-
-exports[`modules/datasource/npm/get no auth "@myco:registry=https://test.org
-//test.org/sub/:_auth=dGVzdDp0ZXN0" 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "test.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://test.org/@myco%2Ftest",
-  },
-]
-`;
-
-exports[`modules/datasource/npm/get no auth "@myco:registry=https://test.org
-//test.org/sub/:_authToken=XXX" 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "test.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://test.org/@myco%2Ftest",
-  },
-]
-`;
-
-exports[`modules/datasource/npm/get no auth "@myco:registry=https://test.org" 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "test.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://test.org/@myco%2Ftest",
-  },
-]
-`;
-
-exports[`modules/datasource/npm/get no auth "registry=https://test.org" 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "test.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://test.org/@myco%2Ftest",
-  },
-]
-`;
-
-exports[`modules/datasource/npm/get uses hostRules basic auth 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic dGVzdDp0ZXN0",
-      "host": "test.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://test.org/@myco%2Ftest",
-  },
-]
-`;
-
-exports[`modules/datasource/npm/get uses hostRules basic token auth 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic abc",
-      "host": "registry.npmjs.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.npmjs.org/renovate",
-  },
-]
-`;
-
-exports[`modules/datasource/npm/get uses hostRules token auth 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer XXX",
-      "host": "registry.npmjs.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.npmjs.org/renovate",
-  },
-]
-`;
diff --git a/lib/modules/datasource/npm/__snapshots__/index.spec.ts.snap b/lib/modules/datasource/npm/__snapshots__/index.spec.ts.snap
index 6228c47ed26395bd5789342e62d5f9c50b4c6848..2296470ea6e5be126f969663c3b9bded3005605e 100644
--- a/lib/modules/datasource/npm/__snapshots__/index.spec.ts.snap
+++ b/lib/modules/datasource/npm/__snapshots__/index.spec.ts.snap
@@ -1,21 +1,5 @@
 // Jest Snapshot v1, https://goo.gl/fbAQLP
 
-exports[`modules/datasource/npm/index should cache package info from npm 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer abcdefghijklmnopqrstuvwxyz",
-      "host": "registry.npmjs.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.npmjs.org/foobar",
-  },
-]
-`;
-
 exports[`modules/datasource/npm/index should fetch package info from custom registry 1`] = `
 Object {
   "name": "foobar",
@@ -39,21 +23,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/npm/index should fetch package info from custom registry 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "npm.mycustomregistry.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://npm.mycustomregistry.com/foobar",
-  },
-]
-`;
-
 exports[`modules/datasource/npm/index should fetch package info from npm 1`] = `
 Object {
   "name": "foobar",
@@ -77,21 +46,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/npm/index should fetch package info from npm 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.npmjs.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.npmjs.org/foobar",
-  },
-]
-`;
-
 exports[`modules/datasource/npm/index should handle foobar 1`] = `
 Object {
   "name": "foobar",
@@ -115,21 +69,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/npm/index should handle foobar 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.npmjs.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.npmjs.org/foobar",
-  },
-]
-`;
-
 exports[`modules/datasource/npm/index should handle no time 1`] = `
 Object {
   "name": "foobar",
@@ -152,21 +91,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/npm/index should handle no time 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.npmjs.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.npmjs.org/foobar",
-  },
-]
-`;
-
 exports[`modules/datasource/npm/index should not send an authorization header if public package 1`] = `
 Object {
   "name": "foobar",
@@ -190,21 +114,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/npm/index should not send an authorization header if public package 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.npmjs.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.npmjs.org/foobar",
-  },
-]
-`;
-
 exports[`modules/datasource/npm/index should parse repo url (string) 1`] = `
 Object {
   "name": "foobar",
@@ -223,21 +132,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/npm/index should parse repo url (string) 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.npmjs.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.npmjs.org/foobar",
-  },
-]
-`;
-
 exports[`modules/datasource/npm/index should parse repo url 1`] = `
 Object {
   "name": "foobar",
@@ -256,21 +150,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/npm/index should parse repo url 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.npmjs.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.npmjs.org/foobar",
-  },
-]
-`;
-
 exports[`modules/datasource/npm/index should replace any environment variable in npmrc 1`] = `
 Object {
   "name": "foobar",
@@ -294,21 +173,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/npm/index should replace any environment variable in npmrc 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.from-env.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.from-env.com/foobar",
-  },
-]
-`;
-
 exports[`modules/datasource/npm/index should return deprecated 1`] = `
 Object {
   "deprecationMessage": "On registry \`https://registry.npmjs.org\`, the \\"latest\\" version of dependency \`foobar\` has the following deprecation notice:
@@ -346,66 +210,6 @@ exports[`modules/datasource/npm/index should return deprecated 2`] = `
 Marking the latest version of an npm package as deprecated results in the entire package being considered deprecated, so contact the package author you think this is a mistake."
 `;
 
-exports[`modules/datasource/npm/index should return deprecated 3`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.npmjs.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.npmjs.org/foobar",
-  },
-]
-`;
-
-exports[`modules/datasource/npm/index should return null for no versions 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.npmjs.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.npmjs.org/foobar",
-  },
-]
-`;
-
-exports[`modules/datasource/npm/index should return null if lookup fails 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.npmjs.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.npmjs.org/foobar",
-  },
-]
-`;
-
-exports[`modules/datasource/npm/index should return null if lookup fails 401 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.npmjs.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.npmjs.org/foobar",
-  },
-]
-`;
-
 exports[`modules/datasource/npm/index should send an authorization header if provided 1`] = `
 Object {
   "name": "@foobar/core",
@@ -429,97 +233,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/npm/index should send an authorization header if provided 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic 1234",
-      "host": "registry.npmjs.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.npmjs.org/@foobar%2Fcore",
-  },
-]
-`;
-
-exports[`modules/datasource/npm/index should throw error for 5xx 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.npmjs.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.npmjs.org/foobar",
-  },
-]
-`;
-
-exports[`modules/datasource/npm/index should throw error for 408 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.npmjs.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.npmjs.org/foobar",
-  },
-]
-`;
-
-exports[`modules/datasource/npm/index should throw error for 429 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.npmjs.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.npmjs.org/foobar",
-  },
-]
-`;
-
-exports[`modules/datasource/npm/index should throw error for others 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.npmjs.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.npmjs.org/foobar",
-  },
-]
-`;
-
-exports[`modules/datasource/npm/index should throw error for unparseable 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.npmjs.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.npmjs.org/foobar",
-  },
-]
-`;
-
 exports[`modules/datasource/npm/index should use default registry if missing from npmrc 1`] = `
 Object {
   "name": "foobar",
@@ -543,21 +256,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/npm/index should use default registry if missing from npmrc 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.npmjs.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.npmjs.org/foobar",
-  },
-]
-`;
-
 exports[`modules/datasource/npm/index should use host rules by baseUrl if provided 1`] = `
 Object {
   "name": "foobar",
@@ -581,22 +279,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/npm/index should use host rules by baseUrl if provided 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer abc",
-      "host": "npm.mycustomregistry.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://npm.mycustomregistry.com/_packaging/mycustomregistry/npm/registry/foobar",
-  },
-]
-`;
-
 exports[`modules/datasource/npm/index should use host rules by hostName if provided 1`] = `
 Object {
   "name": "foobar",
@@ -619,19 +301,3 @@ Object {
   "versions": Object {},
 }
 `;
-
-exports[`modules/datasource/npm/index should use host rules by hostName if provided 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer abc",
-      "host": "npm.mycustomregistry.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://npm.mycustomregistry.com/foobar",
-  },
-]
-`;
diff --git a/lib/modules/datasource/npm/get.spec.ts b/lib/modules/datasource/npm/get.spec.ts
index 179a7711b538a95eb345907f7f890a4314eba931..375923b01527607861386dfffb64c3063bb37473 100644
--- a/lib/modules/datasource/npm/get.spec.ts
+++ b/lib/modules/datasource/npm/get.spec.ts
@@ -45,11 +45,10 @@ describe('modules/datasource/npm/get', () => {
 
       setNpmrc(npmrc);
       const registryUrl = resolveRegistryUrl('@myco/test');
-      await getDependency(http, registryUrl, '@myco/test');
+      expect(await getDependency(http, registryUrl, '@myco/test')).toBeNull();
 
       const trace = httpMock.getTrace();
       expect(trace[0].headers.authorization).toBe('Bearer XXX');
-      expect(trace).toMatchSnapshot();
     });
   });
 
@@ -78,11 +77,10 @@ describe('modules/datasource/npm/get', () => {
         .reply(200, { name: '@myco/test' });
       setNpmrc(npmrc);
       const registryUrl = resolveRegistryUrl('@myco/test');
-      await getDependency(http, registryUrl, '@myco/test');
+      expect(await getDependency(http, registryUrl, '@myco/test')).toBeNull();
 
       const trace = httpMock.getTrace();
       expect(trace[0].headers.authorization).toBe('Basic dGVzdDp0ZXN0');
-      expect(trace).toMatchSnapshot();
     });
   });
 
@@ -102,11 +100,10 @@ describe('modules/datasource/npm/get', () => {
         .reply(200, { name: '@myco/test' });
       setNpmrc(npmrc);
       const registryUrl = resolveRegistryUrl('@myco/test');
-      await getDependency(http, registryUrl, '@myco/test');
+      expect(await getDependency(http, registryUrl, '@myco/test')).toBeNull();
 
       const trace = httpMock.getTrace();
       expect(trace[0].headers.authorization).toBeUndefined();
-      expect(trace).toMatchSnapshot();
     });
   });
 
@@ -129,8 +126,7 @@ describe('modules/datasource/npm/get', () => {
       .reply(200, { name: '@myco/test' });
     setNpmrc(npmrc);
     const registryUrl = resolveRegistryUrl('@myco/test');
-    await getDependency(http, registryUrl, '@myco/test');
-    expect(httpMock.getTrace()).toMatchSnapshot();
+    expect(await getDependency(http, registryUrl, '@myco/test')).toBeNull();
   });
 
   it('uses hostRules token auth', async () => {
@@ -151,8 +147,7 @@ describe('modules/datasource/npm/get', () => {
       .reply(200, { name: 'renovate' });
     setNpmrc(npmrc);
     const registryUrl = resolveRegistryUrl('renovate');
-    await getDependency(http, registryUrl, 'renovate');
-    expect(httpMock.getTrace()).toMatchSnapshot();
+    expect(await getDependency(http, registryUrl, 'renovate')).toBeNull();
   });
 
   it('uses hostRules basic token auth', async () => {
@@ -174,12 +169,11 @@ describe('modules/datasource/npm/get', () => {
       .reply(200, { name: 'renovate' });
     setNpmrc(npmrc);
     const registryUrl = resolveRegistryUrl('renovate');
-    await getDependency(http, registryUrl, 'renovate');
-    expect(httpMock.getTrace()).toMatchSnapshot();
+    expect(await getDependency(http, registryUrl, 'renovate')).toBeNull();
   });
 
   it('cover all paths', async () => {
-    expect.assertions(10);
+    expect.assertions(9);
 
     setNpmrc('registry=https://test.org\n_authToken=XXX');
 
@@ -244,15 +238,15 @@ describe('modules/datasource/npm/get', () => {
       .get('/npm-error-402')
       .reply(402);
     expect(await getDependency(http, registryUrl, 'npm-error-402')).toBeNull();
-
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
 
   it('massages non-compliant repository urls', async () => {
     setNpmrc('registry=https://test.org\n_authToken=XXX');
 
     httpMock
-      .scope('https://test.org')
+      .scope('https://test.org', {
+        reqheaders: { authorization: 'Bearer XXX' },
+      })
       .get('/@neutrinojs%2Freact')
       .reply(200, {
         name: '@neutrinojs/react',
diff --git a/lib/modules/datasource/npm/index.spec.ts b/lib/modules/datasource/npm/index.spec.ts
index c609218ef08f63b5289c4059795e6771b6ea843f..5377d8d78a64395c5a104f016fd33f0e7854858e 100644
--- a/lib/modules/datasource/npm/index.spec.ts
+++ b/lib/modules/datasource/npm/index.spec.ts
@@ -59,7 +59,6 @@ describe('modules/datasource/npm/index', () => {
       .reply(200, missingVersions);
     const res = await getPkgReleases({ datasource, depName: 'foobar' });
     expect(res).toBeNull();
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
 
   it('should fetch package info from npm', async () => {
@@ -69,7 +68,6 @@ describe('modules/datasource/npm/index', () => {
       .reply(200, npmResponse);
     const res = await getPkgReleases({ datasource, depName: 'foobar' });
     expect(res).toMatchSnapshot();
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
 
   it('should parse repo url', async () => {
@@ -95,7 +93,6 @@ describe('modules/datasource/npm/index', () => {
     const res = await getPkgReleases({ datasource, depName: 'foobar' });
     expect(res).toMatchSnapshot();
     expect(res.sourceUrl).toBeDefined();
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
 
   it('should parse repo url (string)', async () => {
@@ -117,7 +114,6 @@ describe('modules/datasource/npm/index', () => {
     const res = await getPkgReleases({ datasource, depName: 'foobar' });
     expect(res).toMatchSnapshot();
     expect(res.sourceUrl).toBeDefined();
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
 
   it('should return deprecated', async () => {
@@ -151,7 +147,6 @@ describe('modules/datasource/npm/index', () => {
     const res = await getPkgReleases({ datasource, depName: 'foobar' });
     expect(res).toMatchSnapshot();
     expect(res.deprecationMessage).toMatchSnapshot();
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
 
   it('should handle foobar', async () => {
@@ -161,7 +156,6 @@ describe('modules/datasource/npm/index', () => {
       .reply(200, npmResponse);
     const res = await getPkgReleases({ datasource, depName: 'foobar' });
     expect(res).toMatchSnapshot();
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
 
   it('should handle no time', async () => {
@@ -172,21 +166,18 @@ describe('modules/datasource/npm/index', () => {
       .reply(200, npmResponse);
     const res = await getPkgReleases({ datasource, depName: 'foobar' });
     expect(res).toMatchSnapshot();
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
 
   it('should return null if lookup fails 401', async () => {
     httpMock.scope('https://registry.npmjs.org').get('/foobar').reply(401);
     const res = await getPkgReleases({ datasource, depName: 'foobar' });
     expect(res).toBeNull();
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
 
   it('should return null if lookup fails', async () => {
     httpMock.scope('https://registry.npmjs.org').get('/foobar').reply(404);
     const res = await getPkgReleases({ datasource, depName: 'foobar' });
     expect(res).toBeNull();
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
 
   it('should throw error for unparseable', async () => {
@@ -197,7 +188,6 @@ describe('modules/datasource/npm/index', () => {
     await expect(
       getPkgReleases({ datasource, depName: 'foobar' })
     ).rejects.toThrow();
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
 
   it('should throw error for 429', async () => {
@@ -205,7 +195,6 @@ describe('modules/datasource/npm/index', () => {
     await expect(
       getPkgReleases({ datasource, depName: 'foobar' })
     ).rejects.toThrow();
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
 
   it('should throw error for 5xx', async () => {
@@ -213,7 +202,6 @@ describe('modules/datasource/npm/index', () => {
     await expect(
       getPkgReleases({ datasource, depName: 'foobar' })
     ).rejects.toThrow(EXTERNAL_HOST_ERROR);
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
 
   it('should throw error for 408', async () => {
@@ -221,7 +209,6 @@ describe('modules/datasource/npm/index', () => {
     await expect(
       getPkgReleases({ datasource, depName: 'foobar' })
     ).rejects.toThrow(EXTERNAL_HOST_ERROR);
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
 
   it('should throw error for others', async () => {
@@ -229,7 +216,6 @@ describe('modules/datasource/npm/index', () => {
     await expect(
       getPkgReleases({ datasource, depName: 'foobar' })
     ).rejects.toThrow();
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
 
   it('should not send an authorization header if public package', async () => {
@@ -241,7 +227,6 @@ describe('modules/datasource/npm/index', () => {
       .reply(200, npmResponse);
     const res = await getPkgReleases({ datasource, depName: 'foobar' });
     expect(res).toMatchSnapshot();
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
 
   it('should send an authorization header if provided', async () => {
@@ -257,7 +242,6 @@ describe('modules/datasource/npm/index', () => {
       npmrc: '_auth = 1234',
     });
     expect(res).toMatchSnapshot();
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
 
   it('should use host rules by hostName if provided', async () => {
@@ -275,7 +259,6 @@ describe('modules/datasource/npm/index', () => {
     const npmrc = 'registry=https://npm.mycustomregistry.com/';
     const res = await getPkgReleases({ datasource, depName: 'foobar', npmrc });
     expect(res).toMatchSnapshot();
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
 
   it('should use host rules by baseUrl if provided', async () => {
@@ -298,7 +281,6 @@ describe('modules/datasource/npm/index', () => {
       'registry=https://npm.mycustomregistry.com/_packaging/mycustomregistry/npm/registry/';
     const res = await getPkgReleases({ datasource, depName: 'foobar', npmrc });
     expect(res).toMatchSnapshot();
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
 
   it('resets npmrc', () => {
@@ -316,7 +298,6 @@ describe('modules/datasource/npm/index', () => {
     const npmrc = 'foo=bar';
     const res = await getPkgReleases({ datasource, depName: 'foobar', npmrc });
     expect(res).toMatchSnapshot();
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
 
   it('should cache package info from npm', async () => {
@@ -329,7 +310,6 @@ describe('modules/datasource/npm/index', () => {
     const res2 = await getPkgReleases({ datasource, depName: 'foobar', npmrc });
     expect(res1).not.toBeNull();
     expect(res1).toEqual(res2);
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
 
   it('should fetch package info from custom registry', async () => {
@@ -340,7 +320,6 @@ describe('modules/datasource/npm/index', () => {
     const npmrc = `registry=https://npm.mycustomregistry.com/`;
     const res = await getPkgReleases({ datasource, depName: 'foobar', npmrc });
     expect(res).toMatchSnapshot();
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
 
   it('should replace any environment variable in npmrc', async () => {
@@ -355,7 +334,6 @@ describe('modules/datasource/npm/index', () => {
     const npmrc = 'registry=${REGISTRY}';
     const res = await getPkgReleases({ datasource, depName: 'foobar', npmrc });
     expect(res).toMatchSnapshot();
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
 
   it('should throw error if necessary env var is not present', () => {
diff --git a/lib/modules/datasource/nuget/__snapshots__/index.spec.ts.snap b/lib/modules/datasource/nuget/__snapshots__/index.spec.ts.snap
index 844bce5c7e38fda22f7f7ab7569c60d00ad4b2b5..2e4e6e789caf872def387655eb1f8b324a33a2c8 100644
--- a/lib/modules/datasource/nuget/__snapshots__/index.spec.ts.snap
+++ b/lib/modules/datasource/nuget/__snapshots__/index.spec.ts.snap
@@ -1,70 +1,5 @@
 // Jest Snapshot v1, https://goo.gl/fbAQLP
 
-exports[`modules/datasource/nuget/index getReleases can't get packages list (v3) 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.nuget.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.nuget.org/v3/index.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.nuget.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.nuget.org/v3/registration5-gz-semver2/nunit/index.json",
-  },
-]
-`;
-
-exports[`modules/datasource/nuget/index getReleases empty packages list (v3) 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.nuget.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.nuget.org/v3/index.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.nuget.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.nuget.org/v3/registration5-gz-semver2/nunit/index.json",
-  },
-]
-`;
-
-exports[`modules/datasource/nuget/index getReleases extracts feed version from registry URL hash 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "my-registry",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://my-registry/",
-  },
-]
-`;
-
 exports[`modules/datasource/nuget/index getReleases handles paginated results (v2) 1`] = `
 Object {
   "registryUrl": "https://www.nuget.org/api/v2",
@@ -79,29 +14,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/nuget/index getReleases handles paginated results (v2) 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "www.nuget.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://www.nuget.org/api/v2/FindPackagesById()?id=%27nunit%27&$select=Version,IsLatestVersion,ProjectUrl,Published",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "example.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://example.org/",
-  },
-]
-`;
-
 exports[`modules/datasource/nuget/index getReleases processes real data (v2) 1`] = `
 Object {
   "registryUrl": "https://www.nuget.org/api/v2",
@@ -291,20 +203,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/nuget/index getReleases processes real data (v2) 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "www.nuget.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://www.nuget.org/api/v2/FindPackagesById()?id=%27nunit%27&$select=Version,IsLatestVersion,ProjectUrl,Published",
-  },
-]
-`;
-
 exports[`modules/datasource/nuget/index getReleases processes real data (v3) feed is a nuget.org 1`] = `
 Object {
   "homepage": "https://nunit.org/",
@@ -496,50 +394,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/nuget/index getReleases processes real data (v3) feed is a nuget.org 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.nuget.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.nuget.org/v3/index.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.nuget.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.nuget.org/v3/registration5-gz-semver2/nunit/index.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.nuget.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.nuget.org/v3/index.json",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.nuget.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.nuget.org/v3-flatcontainer/nunit/3.12.0/nunit.nuspec",
-  },
-]
-`;
-
 exports[`modules/datasource/nuget/index getReleases processes real data (v3) feed is not a nuget.org 1`] = `
 Object {
   "homepage": "https://nunit.org/",
@@ -730,50 +584,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/nuget/index getReleases processes real data (v3) feed is not a nuget.org 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "myprivatefeed",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://myprivatefeed/index.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.nuget.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.nuget.org/v3/registration5-gz-semver2/nunit/index.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "myprivatefeed",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://myprivatefeed/index.json",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.nuget.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.nuget.org/v3-flatcontainer/nunit/3.12.0/nunit.nuspec",
-  },
-]
-`;
-
 exports[`modules/datasource/nuget/index getReleases processes real data (v3) for several catalog pages 1`] = `
 Object {
   "homepage": "https://nlog-project.org/",
@@ -1496,80 +1306,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/nuget/index getReleases processes real data (v3) for several catalog pages 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.nuget.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.nuget.org/v3/index.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.nuget.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.nuget.org/v3/registration5-gz-semver2/nlog/index.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.nuget.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.nuget.org/v3/registration5-gz-semver2/nlog/page/1.0.0.505/4.4.0-beta5.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.nuget.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.nuget.org/v3/registration5-gz-semver2/nlog/page/4.4.0-beta6/4.6.0-rc2.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.nuget.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.nuget.org/v3/registration5-gz-semver2/nlog/page/4.6.0-rc3/5.0.0-beta11.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.nuget.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.nuget.org/v3/index.json",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.nuget.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.nuget.org/v3-flatcontainer/nlog/4.7.3/nlog.nuspec",
-  },
-]
-`;
-
 exports[`modules/datasource/nuget/index getReleases processes real data (v3) nuspec fetch 404 error 1`] = `
 Object {
   "registryUrl": "https://api.nuget.org/v3/index.json",
@@ -1759,50 +1495,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/nuget/index getReleases processes real data (v3) nuspec fetch 404 error 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.nuget.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.nuget.org/v3/index.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.nuget.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.nuget.org/v3/registration5-gz-semver2/nunit/index.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.nuget.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.nuget.org/v3/index.json",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.nuget.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.nuget.org/v3-flatcontainer/nunit/3.12.0/nunit.nuspec",
-  },
-]
-`;
-
 exports[`modules/datasource/nuget/index getReleases processes real data (v3) nuspec fetch error 1`] = `
 Object {
   "registryUrl": "https://api.nuget.org/v3/index.json",
@@ -1992,64 +1684,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/nuget/index getReleases processes real data (v3) nuspec fetch error 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.nuget.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.nuget.org/v3/index.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.nuget.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.nuget.org/v3/registration5-gz-semver2/nunit/index.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.nuget.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.nuget.org/v3/index.json",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.nuget.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.nuget.org/v3-flatcontainer/nunit/3.12.0/nunit.nuspec",
-  },
-]
-`;
-
-exports[`modules/datasource/nuget/index getReleases processes real data no relase (v2) 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "www.nuget.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://www.nuget.org/api/v2/FindPackagesById()?id=%27nunit%27&$select=Version,IsLatestVersion,ProjectUrl,Published",
-  },
-]
-`;
-
 exports[`modules/datasource/nuget/index getReleases processes real data with no github project url (v2) 1`] = `
 Object {
   "registryUrl": "https://www.nuget.org/api/v2",
@@ -2062,20 +1696,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/nuget/index getReleases processes real data with no github project url (v2) 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "www.nuget.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://www.nuget.org/api/v2/FindPackagesById()?id=%27nunit%27&$select=Version,IsLatestVersion,ProjectUrl,Published",
-  },
-]
-`;
-
 exports[`modules/datasource/nuget/index getReleases processes real data without project url (v2) 1`] = `
 Object {
   "registryUrl": "https://www.nuget.org/api/v2",
@@ -2213,20 +1833,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/nuget/index getReleases processes real data without project url (v2) 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "www.nuget.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://www.nuget.org/api/v2/FindPackagesById()?id=%27nunit%27&$select=Version,IsLatestVersion,ProjectUrl,Published",
-  },
-]
-`;
-
 exports[`modules/datasource/nuget/index getReleases returns deduplicated results 1`] = `
 Object {
   "homepage": "https://nunit.org/",
@@ -2461,270 +2067,3 @@ Object {
   "sourceUrl": "https://github.com/nunit/nunit",
 }
 `;
-
-exports[`modules/datasource/nuget/index getReleases returns deduplicated results 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.nuget.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.nuget.org/v3/index.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.nuget.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.nuget.org/v3/registration5-gz-semver2/nunit/index.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.nuget.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.nuget.org/v3/index.json",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.nuget.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.nuget.org/v3-flatcontainer/nunit/3.12.0/nunit.nuspec",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "myprivatefeed",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://myprivatefeed/index.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.nuget.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.nuget.org/v3/registration5-gz-semver2/nunit/index.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "myprivatefeed",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://myprivatefeed/index.json",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.nuget.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.nuget.org/v3-flatcontainer/nunit/3.12.0/nunit.nuspec",
-  },
-]
-`;
-
-exports[`modules/datasource/nuget/index getReleases returns null for empty result (v2) 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "www.nuget.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://www.nuget.org/api/v2/FindPackagesById()?id=%27nunit%27&$select=Version,IsLatestVersion,ProjectUrl,Published",
-  },
-]
-`;
-
-exports[`modules/datasource/nuget/index getReleases returns null for empty result (v3) 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.nuget.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.nuget.org/v3/index.json",
-  },
-]
-`;
-
-exports[`modules/datasource/nuget/index getReleases returns null for empty result (v3v2) 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.nuget.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.nuget.org/v3/index.json",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "www.nuget.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://www.nuget.org/api/v2/FindPackagesById()?id=%27nunit%27&$select=Version,IsLatestVersion,ProjectUrl,Published",
-  },
-]
-`;
-
-exports[`modules/datasource/nuget/index getReleases returns null for non 200 (v2) 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "www.nuget.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://www.nuget.org/api/v2/FindPackagesById()?id=%27nunit%27&$select=Version,IsLatestVersion,ProjectUrl,Published",
-  },
-]
-`;
-
-exports[`modules/datasource/nuget/index getReleases returns null for non 200 (v3) 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.nuget.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.nuget.org/v3/index.json",
-  },
-]
-`;
-
-exports[`modules/datasource/nuget/index getReleases returns null for non 200 (v3v2) 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.nuget.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.nuget.org/v3/index.json",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "www.nuget.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://www.nuget.org/api/v2/FindPackagesById()?id=%27nunit%27&$select=Version,IsLatestVersion,ProjectUrl,Published",
-  },
-]
-`;
-
-exports[`modules/datasource/nuget/index getReleases returns null for unknown error (v2) 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "www.nuget.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://www.nuget.org/api/v2/FindPackagesById()?id=%27nunit%27&$select=Version,IsLatestVersion,ProjectUrl,Published",
-  },
-]
-`;
-
-exports[`modules/datasource/nuget/index getReleases returns null for unknown error (v3v2) 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.nuget.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.nuget.org/v3/index.json",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "www.nuget.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://www.nuget.org/api/v2/FindPackagesById()?id=%27nunit%27&$select=Version,IsLatestVersion,ProjectUrl,Published",
-  },
-]
-`;
-
-exports[`modules/datasource/nuget/index getReleases returns null for unknown error in getQueryUrlForV3Feed  (v3) 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.nuget.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.nuget.org/v3/index.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.nuget.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.nuget.org/v3/registration5-gz-semver2/nunit/index.json",
-  },
-]
-`;
-
-exports[`modules/datasource/nuget/index getReleases returns null for unknown error in getReleasesFromV3Feed (v3) 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.nuget.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.nuget.org/v3/index.json",
-  },
-]
-`;
diff --git a/lib/modules/datasource/nuget/index.spec.ts b/lib/modules/datasource/nuget/index.spec.ts
index 5a72fc9d1150f8ecbdcfe28cf7d7bc14545e84f3..4abb4fe7a8fa8cffcee4cad8d3342ee4c640b209 100644
--- a/lib/modules/datasource/nuget/index.spec.ts
+++ b/lib/modules/datasource/nuget/index.spec.ts
@@ -158,12 +158,11 @@ describe('modules/datasource/nuget/index', () => {
         depName: 'nunit',
         registryUrls: ['https://my-registry#protocolVersion=3'],
       };
-      await getPkgReleases({
-        ...config,
-      });
-      const trace = httpMock.getTrace();
-      expect(trace[0].url).toBe('https://my-registry/');
-      expect(trace).toMatchSnapshot();
+      expect(
+        await getPkgReleases({
+          ...config,
+        })
+      ).toBeNull();
     });
 
     it(`can't get packages list (v3)`, async () => {
@@ -179,7 +178,6 @@ describe('modules/datasource/nuget/index', () => {
       });
 
       expect(res).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it(`empty packages list (v3)`, async () => {
       httpMock
@@ -194,7 +192,6 @@ describe('modules/datasource/nuget/index', () => {
       });
 
       expect(res).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('returns null for empty result (v3v2)', async () => {
@@ -213,7 +210,6 @@ describe('modules/datasource/nuget/index', () => {
           ...configV3V2,
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns null for empty result (v2)', async () => {
       httpMock
@@ -227,7 +223,6 @@ describe('modules/datasource/nuget/index', () => {
           ...configV2,
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns null for empty result (v3)', async () => {
       httpMock
@@ -238,7 +233,6 @@ describe('modules/datasource/nuget/index', () => {
         ...configV3,
       });
       expect(res).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('returns null for non 200 (v3v2)', async () => {
@@ -254,7 +248,6 @@ describe('modules/datasource/nuget/index', () => {
           ...configV3V2,
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns null for non 200 (v3)', async () => {
       httpMock.scope('https://api.nuget.org').get('/v3/index.json').reply(500);
@@ -263,7 +256,6 @@ describe('modules/datasource/nuget/index', () => {
           ...configV3,
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns null for non 200 (v2)', async () => {
       httpMock
@@ -277,7 +269,6 @@ describe('modules/datasource/nuget/index', () => {
           ...configV2,
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('returns null for unknown error (v3v2)', async () => {
@@ -296,7 +287,6 @@ describe('modules/datasource/nuget/index', () => {
           ...configV3V2,
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns deduplicated results', async () => {
       httpMock
@@ -322,7 +312,6 @@ describe('modules/datasource/nuget/index', () => {
       expect(res).not.toBeNull();
       expect(res).toMatchSnapshot();
       expect(res.releases).toHaveLength(45);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns null for unknown error in getReleasesFromV3Feed (v3)', async () => {
       httpMock
@@ -334,7 +323,6 @@ describe('modules/datasource/nuget/index', () => {
           ...configV3,
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns null for unknown error in getQueryUrlForV3Feed  (v3)', async () => {
       httpMock
@@ -348,7 +336,6 @@ describe('modules/datasource/nuget/index', () => {
           ...configV3,
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns null for unknown error (v2)', async () => {
       httpMock
@@ -362,7 +349,6 @@ describe('modules/datasource/nuget/index', () => {
           ...configV2,
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('processes real data (v3) feed is a nuget.org', async () => {
       httpMock
@@ -380,7 +366,6 @@ describe('modules/datasource/nuget/index', () => {
       expect(res).not.toBeNull();
       expect(res).toMatchSnapshot();
       expect(res.sourceUrl).toBeDefined();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('processes real data (v3) for several catalog pages', async () => {
       const scope = httpMock
@@ -398,7 +383,6 @@ describe('modules/datasource/nuget/index', () => {
       expect(res).not.toBeNull();
       expect(res).toMatchSnapshot();
       expect(res.sourceUrl).toBeDefined();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('processes real data (v3) feed is not a nuget.org', async () => {
       httpMock
@@ -426,7 +410,6 @@ describe('modules/datasource/nuget/index', () => {
       });
       expect(res).not.toBeNull();
       expect(res).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
       expect(res.sourceUrl).toBeDefined();
     });
     it('processes real data (v3) nuspec fetch error', async () => {
@@ -445,7 +428,6 @@ describe('modules/datasource/nuget/index', () => {
       expect(res).not.toBeNull();
       expect(res).toMatchSnapshot();
       expect(res.sourceUrl).toBeUndefined();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('processes real data (v3) nuspec fetch 404 error', async () => {
       httpMock
@@ -463,7 +445,6 @@ describe('modules/datasource/nuget/index', () => {
       expect(res).not.toBeNull();
       expect(res).toMatchSnapshot();
       expect(res.sourceUrl).toBeUndefined();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('processes real data (v2)', async () => {
       httpMock
@@ -478,7 +459,6 @@ describe('modules/datasource/nuget/index', () => {
       expect(res).not.toBeNull();
       expect(res).toMatchSnapshot();
       expect(res.sourceUrl).toBeDefined();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('processes real data no relase (v2)', async () => {
       httpMock
@@ -491,7 +471,6 @@ describe('modules/datasource/nuget/index', () => {
         ...configV2,
       });
       expect(res).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('processes real data without project url (v2)', async () => {
       httpMock
@@ -506,7 +485,6 @@ describe('modules/datasource/nuget/index', () => {
       expect(res).not.toBeNull();
       expect(res).toMatchSnapshot();
       expect(res.sourceUrl).toBeUndefined();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('processes real data with no github project url (v2)', async () => {
       httpMock
@@ -520,7 +498,6 @@ describe('modules/datasource/nuget/index', () => {
       });
       expect(res).not.toBeNull();
       expect(res).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('handles paginated results (v2)', async () => {
       httpMock
@@ -538,7 +515,6 @@ describe('modules/datasource/nuget/index', () => {
       });
       expect(res).not.toBeNull();
       expect(res).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 });
diff --git a/lib/modules/datasource/orb/__snapshots__/index.spec.ts.snap b/lib/modules/datasource/orb/__snapshots__/index.spec.ts.snap
index 0170a238c2a79b7bbe52fbccb2ae298699f9d455..b4dfa1a629d3fb75a34e8dc8c29f69ce1824568a 100644
--- a/lib/modules/datasource/orb/__snapshots__/index.spec.ts.snap
+++ b/lib/modules/datasource/orb/__snapshots__/index.spec.ts.snap
@@ -48,44 +48,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/orb/index getReleases processes homeUrl 2`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$packageName": "String!",
-        },
-        "orb": Object {
-          "__args": Object {
-            "name": "$packageName",
-          },
-          "homeUrl": null,
-          "name": null,
-          "versions": Object {
-            "createdAt": null,
-            "version": null,
-          },
-        },
-      },
-      "variables": Object {
-        "packageName": "hyper-expanse/library-release-workflows",
-      },
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "content-length": "234",
-      "content-type": "application/json",
-      "host": "circleci.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://circleci.com/graphql-unstable",
-  },
-]
-`;
-
 exports[`modules/datasource/orb/index getReleases processes real data 1`] = `
 Object {
   "homepage": "https://circleci.com/developer/orbs/orb/hyper-expanse/library-release-workflows",
@@ -133,193 +95,3 @@ Object {
   ],
 }
 `;
-
-exports[`modules/datasource/orb/index getReleases processes real data 2`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$packageName": "String!",
-        },
-        "orb": Object {
-          "__args": Object {
-            "name": "$packageName",
-          },
-          "homeUrl": null,
-          "name": null,
-          "versions": Object {
-            "createdAt": null,
-            "version": null,
-          },
-        },
-      },
-      "variables": Object {
-        "packageName": "hyper-expanse/library-release-workflows",
-      },
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "content-length": "234",
-      "content-type": "application/json",
-      "host": "circleci.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://circleci.com/graphql-unstable",
-  },
-]
-`;
-
-exports[`modules/datasource/orb/index getReleases returns null for 404 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$packageName": "String!",
-        },
-        "orb": Object {
-          "__args": Object {
-            "name": "$packageName",
-          },
-          "homeUrl": null,
-          "name": null,
-          "versions": Object {
-            "createdAt": null,
-            "version": null,
-          },
-        },
-      },
-      "variables": Object {
-        "packageName": "hyper-expanse/library-release-workflows",
-      },
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "content-length": "234",
-      "content-type": "application/json",
-      "host": "circleci.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://circleci.com/graphql-unstable",
-  },
-]
-`;
-
-exports[`modules/datasource/orb/index getReleases returns null for empty result 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$packageName": "String!",
-        },
-        "orb": Object {
-          "__args": Object {
-            "name": "$packageName",
-          },
-          "homeUrl": null,
-          "name": null,
-          "versions": Object {
-            "createdAt": null,
-            "version": null,
-          },
-        },
-      },
-      "variables": Object {
-        "packageName": "hyper-expanse/library-release-workflows",
-      },
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "content-length": "234",
-      "content-type": "application/json",
-      "host": "circleci.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://circleci.com/graphql-unstable",
-  },
-]
-`;
-
-exports[`modules/datasource/orb/index getReleases returns null for missing orb 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$packageName": "String!",
-        },
-        "orb": Object {
-          "__args": Object {
-            "name": "$packageName",
-          },
-          "homeUrl": null,
-          "name": null,
-          "versions": Object {
-            "createdAt": null,
-            "version": null,
-          },
-        },
-      },
-      "variables": Object {
-        "packageName": "hyper-expanse/library-release-wonkflows",
-      },
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "content-length": "234",
-      "content-type": "application/json",
-      "host": "circleci.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://circleci.com/graphql-unstable",
-  },
-]
-`;
-
-exports[`modules/datasource/orb/index getReleases returns null for unknown error 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$packageName": "String!",
-        },
-        "orb": Object {
-          "__args": Object {
-            "name": "$packageName",
-          },
-          "homeUrl": null,
-          "name": null,
-          "versions": Object {
-            "createdAt": null,
-            "version": null,
-          },
-        },
-      },
-      "variables": Object {
-        "packageName": "hyper-expanse/library-release-workflows",
-      },
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "content-length": "234",
-      "content-type": "application/json",
-      "host": "circleci.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://circleci.com/graphql-unstable",
-  },
-]
-`;
diff --git a/lib/modules/datasource/orb/index.spec.ts b/lib/modules/datasource/orb/index.spec.ts
index 6a693dd31c11b40ecebab8d018445e7e20aebb47..671444d73549b4f89aaf2f6d2c4723746ad15fde 100644
--- a/lib/modules/datasource/orb/index.spec.ts
+++ b/lib/modules/datasource/orb/index.spec.ts
@@ -41,7 +41,6 @@ describe('modules/datasource/orb/index', () => {
           depName: 'hyper-expanse/library-release-workflows',
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns null for missing orb', async () => {
       httpMock
@@ -54,7 +53,6 @@ describe('modules/datasource/orb/index', () => {
           depName: 'hyper-expanse/library-release-wonkflows',
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns null for 404', async () => {
       httpMock.scope(baseUrl).post('/graphql-unstable').reply(404);
@@ -64,7 +62,6 @@ describe('modules/datasource/orb/index', () => {
           depName: 'hyper-expanse/library-release-workflows',
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns null for unknown error', async () => {
       httpMock.scope(baseUrl).post('/graphql-unstable').replyWithError('');
@@ -74,7 +71,6 @@ describe('modules/datasource/orb/index', () => {
           depName: 'hyper-expanse/library-release-workflows',
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('processes real data', async () => {
       httpMock.scope(baseUrl).post('/graphql-unstable').reply(200, orbData);
@@ -84,7 +80,6 @@ describe('modules/datasource/orb/index', () => {
       });
       expect(res).toMatchSnapshot();
       expect(res).not.toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('processes homeUrl', async () => {
       orbData.data.orb.homeUrl = 'https://google.com';
@@ -95,7 +90,6 @@ describe('modules/datasource/orb/index', () => {
       });
       expect(res).toMatchSnapshot();
       expect(res?.homepage).toBe('https://google.com');
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 });
diff --git a/lib/modules/datasource/packagist/__snapshots__/index.spec.ts.snap b/lib/modules/datasource/packagist/__snapshots__/index.spec.ts.snap
index 116ebf9aa47e75a66e74b3052615852bab96333c..ff5fbe7c179bf0f9e625b59ae5a1972f40106f8f 100644
--- a/lib/modules/datasource/packagist/__snapshots__/index.spec.ts.snap
+++ b/lib/modules/datasource/packagist/__snapshots__/index.spec.ts.snap
@@ -104,166 +104,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/packagist/index getReleases adds packagist source implicitly 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "packagist.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://packagist.org/p2/drewm/mailchimp-api.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "packagist.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://packagist.org/p2/drewm/mailchimp-api~dev.json",
-  },
-]
-`;
-
-exports[`modules/datasource/packagist/index getReleases handles auth rejections 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "composer.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://composer.renovatebot.com/packages.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "packagist.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://packagist.org/p2/vendor/package-name.json",
-  },
-]
-`;
-
-exports[`modules/datasource/packagist/index getReleases handles not found registries 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "composer.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://composer.renovatebot.com/packages.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "packagist.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://packagist.org/p2/drewm/mailchimp-api.json",
-  },
-]
-`;
-
-exports[`modules/datasource/packagist/index getReleases handles provider-includes miss 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "composer.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://composer.renovatebot.com/packages.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "composer.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://composer.renovatebot.com/p/providers-2018-09$14346045d7a7261cb3a12a6b7a1a7c4151982530347b115e5e277d879cad1942.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "packagist.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://packagist.org/p2/some/other.json",
-  },
-]
-`;
-
-exports[`modules/datasource/packagist/index getReleases handles providers miss 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "composer.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://composer.renovatebot.com/packages.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "packagist.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://packagist.org/p2/some/other.json",
-  },
-]
-`;
-
-exports[`modules/datasource/packagist/index getReleases handles timeouts 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "composer.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://composer.renovatebot.com/packages.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "packagist.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://packagist.org/p2/vendor/package-name2.json",
-  },
-]
-`;
-
 exports[`modules/datasource/packagist/index getReleases processes real versioned data 1`] = `
 Object {
   "registryUrl": "https://packagist.org",
@@ -368,31 +208,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/packagist/index getReleases processes real versioned data 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "packagist.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://packagist.org/p2/drewm/mailchimp-api.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "packagist.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://packagist.org/p2/drewm/mailchimp-api~dev.json",
-  },
-]
-`;
-
 exports[`modules/datasource/packagist/index getReleases supports includes packages 1`] = `
 Object {
   "homepage": "http://guzzlephp.org/",
@@ -538,33 +353,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/packagist/index getReleases supports includes packages 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic c29tZS11c2VybmFtZTpzb21lLXBhc3N3b3Jk",
-      "host": "composer.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://composer.renovatebot.com/packages.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic c29tZS11c2VybmFtZTpzb21lLXBhc3N3b3Jk",
-      "host": "composer.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://composer.renovatebot.com/include/all$afbf74d51f31c7cbb5ff10304f9290bfb4f4e68b.json",
-  },
-]
-`;
-
 exports[`modules/datasource/packagist/index getReleases supports lazy repositories 1`] = `
 Object {
   "registryUrl": "https://composer.renovatebot.com/composer/lazy",
@@ -581,31 +369,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/packagist/index getReleases supports lazy repositories 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "composer.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://composer.renovatebot.com/composer/lazy/packages.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "composer.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://composer.renovatebot.com/composer/lazy/p/guzzlehttp/guzzle.json",
-  },
-]
-`;
-
 exports[`modules/datasource/packagist/index getReleases supports plain packages 1`] = `
 Object {
   "registryUrl": "https://composer.renovatebot.com",
@@ -626,21 +389,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/packagist/index getReleases supports plain packages 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "composer.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://composer.renovatebot.com/packages.json",
-  },
-]
-`;
-
 exports[`modules/datasource/packagist/index getReleases supports provider-includes 1`] = `
 Object {
   "homepage": "https://wordpress.org/plugins/1beyt/",
@@ -671,41 +419,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/packagist/index getReleases supports provider-includes 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "composer.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://composer.renovatebot.com/packages.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "composer.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://composer.renovatebot.com/p/providers-2018-09$14346045d7a7261cb3a12a6b7a1a7c4151982530347b115e5e277d879cad1942.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "composer.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://composer.renovatebot.com/p/wpackagist-plugin/1beyt$b574a802b5bf20a58c0f027e73aea2a75d23a6f654afc298a8dc467331be316a.json",
-  },
-]
-`;
-
 exports[`modules/datasource/packagist/index getReleases supports providers 1`] = `
 Object {
   "homepage": "https://wordpress.org/plugins/1beyt/",
@@ -736,31 +449,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/packagist/index getReleases supports providers 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "composer.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://composer.renovatebot.com/packages.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "composer.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://composer.renovatebot.com/p/wpackagist-plugin/1beyt$b574a802b5bf20a58c0f027e73aea2a75d23a6f654afc298a8dc467331be316a.json",
-  },
-]
-`;
-
 exports[`modules/datasource/packagist/index getReleases supports providers without a hash 1`] = `
 Object {
   "homepage": "https://wordpress.org/plugins/1beyt/",
diff --git a/lib/modules/datasource/packagist/index.spec.ts b/lib/modules/datasource/packagist/index.spec.ts
index d002254dbbe58d083f5836f21b3450dd021de28d..7d9720b5752f38452a380b70850d1252de6892cb 100644
--- a/lib/modules/datasource/packagist/index.spec.ts
+++ b/lib/modules/datasource/packagist/index.spec.ts
@@ -74,7 +74,6 @@ describe('modules/datasource/packagist/index', () => {
         depName: 'vendor/package-name',
       });
       expect(res).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('handles timeouts', async () => {
       httpMock
@@ -89,7 +88,6 @@ describe('modules/datasource/packagist/index', () => {
         depName: 'vendor/package-name2',
       });
       expect(res).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('handles auth rejections', async () => {
       httpMock
@@ -104,7 +102,6 @@ describe('modules/datasource/packagist/index', () => {
         depName: 'vendor/package-name',
       });
       expect(res).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('handles not found registries', async () => {
       httpMock
@@ -119,7 +116,6 @@ describe('modules/datasource/packagist/index', () => {
         depName: 'drewm/mailchimp-api',
       });
       expect(res).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('supports includes packages', async () => {
       hostRules.find = jest.fn(() => ({
@@ -148,7 +144,6 @@ describe('modules/datasource/packagist/index', () => {
       });
       expect(res).toMatchSnapshot();
       expect(res).not.toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('supports lazy repositories', async () => {
       const packagesJson = {
@@ -187,7 +182,6 @@ describe('modules/datasource/packagist/index', () => {
       });
       expect(res).toMatchSnapshot();
       expect(res).not.toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('supports provider-includes', async () => {
       const packagesJson = {
@@ -232,7 +226,6 @@ describe('modules/datasource/packagist/index', () => {
       });
       expect(res).toMatchSnapshot();
       expect(res).not.toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('handles provider-includes miss', async () => {
       const packagesJson = {
@@ -273,7 +266,6 @@ describe('modules/datasource/packagist/index', () => {
         depName: 'some/other',
       });
       expect(res).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('supports providers', async () => {
       const packagesJson = {
@@ -306,7 +298,6 @@ describe('modules/datasource/packagist/index', () => {
       });
       expect(res).toMatchSnapshot();
       expect(res).not.toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('supports providers without a hash', async () => {
       const packagesJson = {
@@ -363,7 +354,6 @@ describe('modules/datasource/packagist/index', () => {
         depName: 'some/other',
       });
       expect(res).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('processes real versioned data', async () => {
       httpMock
@@ -383,7 +373,6 @@ describe('modules/datasource/packagist/index', () => {
           depName: 'drewm/mailchimp-api',
         })
       ).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('adds packagist source implicitly', async () => {
       httpMock
@@ -403,7 +392,6 @@ describe('modules/datasource/packagist/index', () => {
           depName: 'drewm/mailchimp-api',
         })
       ).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 });
diff --git a/lib/modules/datasource/pypi/__snapshots__/index.spec.ts.snap b/lib/modules/datasource/pypi/__snapshots__/index.spec.ts.snap
index 2ed0bcf2cac28e055097975d0bd77ffb9bf9a521..fa5923db558284264d5793fb6920afcf26e62def 100644
--- a/lib/modules/datasource/pypi/__snapshots__/index.spec.ts.snap
+++ b/lib/modules/datasource/pypi/__snapshots__/index.spec.ts.snap
@@ -42,45 +42,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/pypi/index getReleases fall back from json and process data from simple endpoint 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "custom.pypi.net",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://custom.pypi.net/foo/dj-database-url/json",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "custom.pypi.net",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://custom.pypi.net/foo/dj-database-url/",
-  },
-]
-`;
-
-exports[`modules/datasource/pypi/index getReleases find url from project_urls 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "pypi.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://pypi.org/pypi/flexget/json",
-  },
-]
-`;
-
 exports[`modules/datasource/pypi/index getReleases parses data-requires-python and respects constraints from simple endpoint 1`] = `
 Object {
   "registryUrl": "https://pypi.org/simple",
@@ -107,20 +68,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/pypi/index getReleases parses data-requires-python and respects constraints from simple endpoint 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "pypi.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://pypi.org/simple/dj-database-url/",
-  },
-]
-`;
-
 exports[`modules/datasource/pypi/index getReleases process data from +simple endpoint 1`] = `
 Object {
   "registryUrl": "https://some.registry.org/+simple",
@@ -163,20 +110,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/pypi/index getReleases process data from +simple endpoint 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "some.registry.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://some.registry.org/+simple/dj-database-url/",
-  },
-]
-`;
-
 exports[`modules/datasource/pypi/index getReleases process data from simple endpoint 1`] = `
 Object {
   "registryUrl": "https://pypi.org/simple",
@@ -219,20 +152,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/pypi/index getReleases process data from simple endpoint 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "pypi.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://pypi.org/simple/dj-database-url/",
-  },
-]
-`;
-
 exports[`modules/datasource/pypi/index getReleases process data from simple endpoint with hyphens replaced with underscores 1`] = `
 Object {
   "registryUrl": "https://pypi.org/simple",
@@ -244,20 +163,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/pypi/index getReleases process data from simple endpoint with hyphens replaced with underscores 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "pypi.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://pypi.org/simple/image-collector/",
-  },
-]
-`;
-
 exports[`modules/datasource/pypi/index getReleases processes real data 1`] = `
 Object {
   "registryUrl": "https://pypi.org/pypi",
@@ -356,21 +261,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/pypi/index getReleases processes real data 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "pypi.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://pypi.org/pypi/azure-cli-monitor/json",
-  },
-]
-`;
-
 exports[`modules/datasource/pypi/index getReleases respects constraints 1`] = `
 Object {
   "registryUrl": "https://pypi.org/pypi",
@@ -391,151 +281,4 @@ Object {
 }
 `;
 
-exports[`modules/datasource/pypi/index getReleases respects constraints 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "pypi.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://pypi.org/pypi/doit/json",
-  },
-]
-`;
-
 exports[`modules/datasource/pypi/index getReleases returns non-github home_page 1`] = `"https://microsoft.com"`;
-
-exports[`modules/datasource/pypi/index getReleases returns non-github home_page 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "pypi.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://pypi.org/pypi/something/json",
-  },
-]
-`;
-
-exports[`modules/datasource/pypi/index getReleases returns null for 404 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "pypi.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://pypi.org/pypi/something/json",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "pypi.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://pypi.org/pypi/something/",
-  },
-]
-`;
-
-exports[`modules/datasource/pypi/index getReleases returns null for 404 response from simple endpoint 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "pypi.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://pypi.org/simple/dj-database-url/",
-  },
-]
-`;
-
-exports[`modules/datasource/pypi/index getReleases returns null for empty response 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "pypi.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://pypi.org/simple/dj-database-url/",
-  },
-]
-`;
-
-exports[`modules/datasource/pypi/index getReleases returns null for empty result 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "pypi.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://pypi.org/pypi/something/json",
-  },
-]
-`;
-
-exports[`modules/datasource/pypi/index getReleases supports custom datasource url 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "custom.pypi.net",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://custom.pypi.net/foo/azure-cli-monitor/json",
-  },
-]
-`;
-
-exports[`modules/datasource/pypi/index getReleases supports multiple custom datasource urls 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "custom.pypi.net",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://custom.pypi.net/foo/azure-cli-monitor/json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "second-index",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://second-index/foo/azure-cli-monitor/json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "third-index",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://third-index/foo/azure-cli-monitor/json",
-  },
-]
-`;
diff --git a/lib/modules/datasource/pypi/index.spec.ts b/lib/modules/datasource/pypi/index.spec.ts
index 6cd58bb9f5b084ae8527783dc596f97bc8ae1553..417aeb261eb99d777960d636b1dfc18d7c8d50cd 100644
--- a/lib/modules/datasource/pypi/index.spec.ts
+++ b/lib/modules/datasource/pypi/index.spec.ts
@@ -4,8 +4,8 @@ import { loadFixture } from '../../../../test/util';
 import * as hostRules from '../../../util/host-rules';
 import { PypiDatasource } from '.';
 
-const res1: any = loadFixture('azure-cli-monitor.json');
-const res2: any = loadFixture('azure-cli-monitor-updated.json');
+const res1 = loadFixture('azure-cli-monitor.json');
+const res2 = loadFixture('azure-cli-monitor-updated.json');
 const htmlResponse = loadFixture('versions-html.html');
 const badResponse = loadFixture('versions-html-badfile.html');
 const dataRequiresPythonResponse = loadFixture(
@@ -41,7 +41,6 @@ describe('modules/datasource/pypi/index', () => {
           depName: 'something',
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns null for 404', async () => {
       httpMock.scope(baseUrl).get('/something/json').reply(404);
@@ -52,7 +51,6 @@ describe('modules/datasource/pypi/index', () => {
           depName: 'something',
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('processes real data', async () => {
       httpMock
@@ -65,7 +63,6 @@ describe('modules/datasource/pypi/index', () => {
           depName: 'azure-cli-monitor',
         })
       ).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('supports custom datasource url', async () => {
       httpMock
@@ -75,12 +72,17 @@ describe('modules/datasource/pypi/index', () => {
       const config = {
         registryUrls: ['https://custom.pypi.net/foo'],
       };
-      await getPkgReleases({
-        ...config,
-        datasource,
-        depName: 'azure-cli-monitor',
+      expect(
+        await getPkgReleases({
+          ...config,
+          datasource,
+          depName: 'azure-cli-monitor',
+        })
+      ).toMatchObject({
+        registryUrl: 'https://custom.pypi.net/foo',
+        releases: expect.toBeArrayOfSize(22),
+        sourceUrl: 'https://github.com/Azure/azure-cli',
       });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('sets private if authorization privided', async () => {
@@ -128,7 +130,6 @@ describe('modules/datasource/pypi/index', () => {
         version: '0.2.15',
         releaseTimestamp: '2019-06-18T13:58:55.000Z',
       });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns non-github home_page', async () => {
       httpMock
@@ -149,7 +150,6 @@ describe('modules/datasource/pypi/index', () => {
           })
         ).homepage
       ).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('find url from project_urls', async () => {
       const info = {
@@ -173,7 +173,6 @@ describe('modules/datasource/pypi/index', () => {
       });
       expect(result.sourceUrl).toBe(info.project_urls.Repository);
       expect(result.changelogUrl).toBe(info.project_urls.changelog);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('normalizes the package name according to PEP 503', async () => {
       const expectedHttpCall = httpMock
@@ -249,7 +248,6 @@ describe('modules/datasource/pypi/index', () => {
           depName: 'doit',
         })
       ).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('process data from simple endpoint', async () => {
       httpMock
@@ -267,7 +265,6 @@ describe('modules/datasource/pypi/index', () => {
           depName: 'dj-database-url',
         })
       ).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('process data from +simple endpoint', async () => {
       httpMock
@@ -285,7 +282,6 @@ describe('modules/datasource/pypi/index', () => {
           depName: 'dj-database-url',
         })
       ).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('sets private simple if authorization provided', async () => {
       hostRules.add({
@@ -342,7 +338,6 @@ describe('modules/datasource/pypi/index', () => {
           depName: 'image-collector',
         })
       ).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('process data from simple endpoint with mixed-case characters', async () => {
       httpMock
@@ -417,7 +412,6 @@ describe('modules/datasource/pypi/index', () => {
           depName: 'dj-database-url',
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns null for 404 response from simple endpoint', async () => {
       httpMock
@@ -435,7 +429,6 @@ describe('modules/datasource/pypi/index', () => {
           depName: 'dj-database-url',
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns null for response with no versions', async () => {
       httpMock
@@ -472,7 +465,6 @@ describe('modules/datasource/pypi/index', () => {
         depName: 'dj-database-url',
       });
       expect(result).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('parses data-requires-python and respects constraints from simple endpoint', async () => {
       httpMock
@@ -490,7 +482,6 @@ describe('modules/datasource/pypi/index', () => {
           depName: 'dj-database-url',
         })
       ).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 });
diff --git a/lib/modules/datasource/repology/__snapshots__/index.spec.ts.snap b/lib/modules/datasource/repology/__snapshots__/index.spec.ts.snap
index e624277250ed9fa29da2451d8b22dd3e130a06cb..25522a28afe355f2b074c05c6d1bd5b0b616e30f 100644
--- a/lib/modules/datasource/repology/__snapshots__/index.spec.ts.snap
+++ b/lib/modules/datasource/repology/__snapshots__/index.spec.ts.snap
@@ -11,31 +11,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/repology/index getReleases returns correct version for api package 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repology.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repology.org/tools/project-by?repo=debian_stable&name_type=binname&target_page=api_v1_project&noautoresolve=on&name=gcc-defaults",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repology.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repology.org/api/v1/project/gcc-defaults",
-  },
-]
-`;
-
 exports[`modules/datasource/repology/index getReleases returns correct version for binary package 1`] = `
 Object {
   "registryUrl": "https://repology.org",
@@ -47,21 +22,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/repology/index getReleases returns correct version for binary package 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repology.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repology.org/tools/project-by?repo=debian_stable&name_type=binname&target_page=api_v1_project&noautoresolve=on&name=nginx",
-  },
-]
-`;
-
 exports[`modules/datasource/repology/index getReleases returns correct version for multi-package project with different name 1`] = `
 Object {
   "registryUrl": "https://repology.org",
@@ -73,21 +33,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/repology/index getReleases returns correct version for multi-package project with different name 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repology.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repology.org/tools/project-by?repo=debian_stable&name_type=binname&target_page=api_v1_project&noautoresolve=on&name=pulseaudio-utils",
-  },
-]
-`;
-
 exports[`modules/datasource/repology/index getReleases returns correct version for multi-package project with same name 1`] = `
 Object {
   "registryUrl": "https://repology.org",
@@ -99,21 +44,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/repology/index getReleases returns correct version for multi-package project with same name 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repology.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repology.org/tools/project-by?repo=alpine_3_12&name_type=binname&target_page=api_v1_project&noautoresolve=on&name=gcc",
-  },
-]
-`;
-
 exports[`modules/datasource/repology/index getReleases returns correct version for source package 1`] = `
 Object {
   "registryUrl": "https://repology.org",
@@ -125,31 +55,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/repology/index getReleases returns correct version for source package 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repology.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repology.org/tools/project-by?repo=debian_stable&name_type=binname&target_page=api_v1_project&noautoresolve=on&name=gcc-defaults",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repology.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repology.org/tools/project-by?repo=debian_stable&name_type=srcname&target_page=api_v1_project&noautoresolve=on&name=gcc-defaults",
-  },
-]
-`;
-
 exports[`modules/datasource/repology/index getReleases returns multiple versions if they are present in repository 1`] = `
 Object {
   "registryUrl": "https://repology.org",
@@ -175,245 +80,3 @@ Object {
   ],
 }
 `;
-
-exports[`modules/datasource/repology/index getReleases returns multiple versions if they are present in repository 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repology.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repology.org/tools/project-by?repo=centos_8&name_type=binname&target_page=api_v1_project&noautoresolve=on&name=java-11-openjdk",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repology.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repology.org/tools/project-by?repo=centos_8&name_type=srcname&target_page=api_v1_project&noautoresolve=on&name=java-11-openjdk",
-  },
-]
-`;
-
-exports[`modules/datasource/repology/index getReleases returns null for empty result 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repology.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repology.org/tools/project-by?repo=debian_stable&name_type=binname&target_page=api_v1_project&noautoresolve=on&name=nginx",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repology.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repology.org/tools/project-by?repo=debian_stable&name_type=srcname&target_page=api_v1_project&noautoresolve=on&name=nginx",
-  },
-]
-`;
-
-exports[`modules/datasource/repology/index getReleases returns null for missing repository or package 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repology.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repology.org/tools/project-by?repo=this_should&name_type=binname&target_page=api_v1_project&noautoresolve=on&name=never-exist",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repology.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repology.org/tools/project-by?repo=this_should&name_type=srcname&target_page=api_v1_project&noautoresolve=on&name=never-exist",
-  },
-]
-`;
-
-exports[`modules/datasource/repology/index getReleases returns null for scenario when repo is not in package results 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repology.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repology.org/tools/project-by?repo=dummy&name_type=binname&target_page=api_v1_project&noautoresolve=on&name=example",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repology.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repology.org/tools/project-by?repo=dummy&name_type=srcname&target_page=api_v1_project&noautoresolve=on&name=example",
-  },
-]
-`;
-
-exports[`modules/datasource/repology/index getReleases returns null on Resolver ambiguous binary package 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repology.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repology.org/tools/project-by?repo=ubuntu_20_04&name_type=binname&target_page=api_v1_project&noautoresolve=on&name=git",
-  },
-]
-`;
-
-exports[`modules/datasource/repology/index getReleases throws error on API request timeout 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repology.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repology.org/tools/project-by?repo=debian_stable&name_type=binname&target_page=api_v1_project&noautoresolve=on&name=nginx",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repology.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repology.org/tools/project-by?repo=debian_stable&name_type=srcname&target_page=api_v1_project&noautoresolve=on&name=nginx",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repology.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repology.org/api/v1/project/nginx",
-  },
-]
-`;
-
-exports[`modules/datasource/repology/index getReleases throws error on Resolver request timeout 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repology.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repology.org/tools/project-by?repo=debian_stable&name_type=binname&target_page=api_v1_project&noautoresolve=on&name=nginx",
-  },
-]
-`;
-
-exports[`modules/datasource/repology/index getReleases throws error on unexpected API response 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repology.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repology.org/tools/project-by?repo=debian_stable&name_type=binname&target_page=api_v1_project&noautoresolve=on&name=nginx",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repology.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repology.org/tools/project-by?repo=debian_stable&name_type=srcname&target_page=api_v1_project&noautoresolve=on&name=nginx",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repology.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repology.org/api/v1/project/nginx",
-  },
-]
-`;
-
-exports[`modules/datasource/repology/index getReleases throws error on unexpected Resolver response with binary package 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repology.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repology.org/tools/project-by?repo=debian_stable&name_type=binname&target_page=api_v1_project&noautoresolve=on&name=nginx",
-  },
-]
-`;
-
-exports[`modules/datasource/repology/index getReleases throws error on unexpected Resolver response with source package 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repology.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repology.org/tools/project-by?repo=debian_stable&name_type=binname&target_page=api_v1_project&noautoresolve=on&name=nginx",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "repology.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://repology.org/tools/project-by?repo=debian_stable&name_type=srcname&target_page=api_v1_project&noautoresolve=on&name=nginx",
-  },
-]
-`;
-
-exports[`modules/datasource/repology/index getReleases throws without repository and package name 1`] = `Array []`;
diff --git a/lib/modules/datasource/repology/index.spec.ts b/lib/modules/datasource/repology/index.spec.ts
index e3bdd6fe1043fd96ddbdbcbe6de1f62e05e8fba2..3a216789b861a0bcaec6ead8ab021ffe5fda3ae1 100644
--- a/lib/modules/datasource/repology/index.spec.ts
+++ b/lib/modules/datasource/repology/index.spec.ts
@@ -74,7 +74,6 @@ describe('modules/datasource/repology/index', () => {
           depName: 'debian_stable/nginx',
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('returns null for missing repository or package', async () => {
@@ -92,7 +91,6 @@ describe('modules/datasource/repology/index', () => {
           depName: 'this_should/never-exist',
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('throws error on unexpected API response', async () => {
@@ -112,7 +110,6 @@ describe('modules/datasource/repology/index', () => {
           depName: 'debian_stable/nginx',
         })
       ).rejects.toThrow(EXTERNAL_HOST_ERROR);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('throws error on unexpected Resolver response with binary package', async () => {
@@ -127,7 +124,6 @@ describe('modules/datasource/repology/index', () => {
           depName: 'debian_stable/nginx',
         })
       ).rejects.toThrow(EXTERNAL_HOST_ERROR);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('throws error on unexpected Resolver response with source package', async () => {
@@ -146,7 +142,6 @@ describe('modules/datasource/repology/index', () => {
           depName: 'debian_stable/nginx',
         })
       ).rejects.toThrow(EXTERNAL_HOST_ERROR);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('throws error on API request timeout', async () => {
@@ -166,7 +161,6 @@ describe('modules/datasource/repology/index', () => {
           depName: 'debian_stable/nginx',
         })
       ).rejects.toThrow(EXTERNAL_HOST_ERROR);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('throws error on Resolver request timeout', async () => {
@@ -181,7 +175,6 @@ describe('modules/datasource/repology/index', () => {
           depName: 'debian_stable/nginx',
         })
       ).rejects.toThrow(EXTERNAL_HOST_ERROR);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('returns null on Resolver ambiguous binary package', async () => {
@@ -197,7 +190,6 @@ describe('modules/datasource/repology/index', () => {
           depName: 'ubuntu_20_04/git',
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('throws without repository and package name', async () => {
@@ -208,7 +200,6 @@ describe('modules/datasource/repology/index', () => {
           depName: 'invalid-lookup-name',
         })
       ).rejects.toThrow(EXTERNAL_HOST_ERROR);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('returns correct version for binary package', async () => {
@@ -225,7 +216,6 @@ describe('modules/datasource/repology/index', () => {
       expect(res).toMatchSnapshot();
       expect(res.releases).toHaveLength(1);
       expect(res.releases[0].version).toBe('1.14.2-2+deb10u1');
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('returns correct version for source package', async () => {
@@ -245,7 +235,6 @@ describe('modules/datasource/repology/index', () => {
       expect(res).toMatchSnapshot();
       expect(res.releases).toHaveLength(1);
       expect(res.releases[0].version).toBe('1.181');
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('returns correct version for api package', async () => {
@@ -262,7 +251,6 @@ describe('modules/datasource/repology/index', () => {
       expect(res).toMatchSnapshot();
       expect(res.releases).toHaveLength(1);
       expect(res.releases[0].version).toBe('1.181');
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('returns correct version for multi-package project with same name', async () => {
@@ -279,7 +267,6 @@ describe('modules/datasource/repology/index', () => {
       expect(res).toMatchSnapshot();
       expect(res.releases).toHaveLength(1);
       expect(res.releases[0].version).toBe('9.3.0-r2');
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('returns correct version for multi-package project with different name', async () => {
@@ -296,7 +283,6 @@ describe('modules/datasource/repology/index', () => {
       expect(res).toMatchSnapshot();
       expect(res.releases).toHaveLength(1);
       expect(res.releases[0].version).toBe('12.2-4+deb10u1');
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('returns multiple versions if they are present in repository', async () => {
@@ -317,7 +303,6 @@ describe('modules/datasource/repology/index', () => {
       expect(res.releases).toHaveLength(6);
       expect(res.releases[0].version).toBe('1:11.0.7.10-1.el8_1');
       expect(res.releases[5].version).toBe('1:11.0.9.11-3.el8_3');
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('returns null for scenario when repo is not in package results', async () => {
@@ -344,7 +329,6 @@ describe('modules/datasource/repology/index', () => {
       });
 
       expect(release).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('returns correct package types for api_call', async () => {
diff --git a/lib/modules/datasource/ruby-version/__snapshots__/index.spec.ts.snap b/lib/modules/datasource/ruby-version/__snapshots__/index.spec.ts.snap
index 79e9685c77101c88aba5e6117eece8b59d350c37..f7a3b85edc684f3b61341e185d3e736cd9dca713 100644
--- a/lib/modules/datasource/ruby-version/__snapshots__/index.spec.ts.snap
+++ b/lib/modules/datasource/ruby-version/__snapshots__/index.spec.ts.snap
@@ -674,45 +674,3 @@ Object {
   "sourceUrl": "https://github.com/ruby/ruby",
 }
 `;
-
-exports[`modules/datasource/ruby-version/index getReleases parses real data 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "www.ruby-lang.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://www.ruby-lang.org/en/downloads/releases/",
-  },
-]
-`;
-
-exports[`modules/datasource/ruby-version/index getReleases throws for 404 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "www.ruby-lang.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://www.ruby-lang.org/en/downloads/releases/",
-  },
-]
-`;
-
-exports[`modules/datasource/ruby-version/index getReleases throws for empty result 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "www.ruby-lang.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://www.ruby-lang.org/en/downloads/releases/",
-  },
-]
-`;
diff --git a/lib/modules/datasource/ruby-version/index.spec.ts b/lib/modules/datasource/ruby-version/index.spec.ts
index c9524a26aab8a4c6953cabd037e487a32dee80d0..70ebc97c46394bc657a695e3e94d21bc0893dd0c 100644
--- a/lib/modules/datasource/ruby-version/index.spec.ts
+++ b/lib/modules/datasource/ruby-version/index.spec.ts
@@ -17,7 +17,6 @@ describe('modules/datasource/ruby-version/index', () => {
         depName: 'ruby',
       });
       expect(res).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('throws for empty result', async () => {
       httpMock
@@ -27,7 +26,6 @@ describe('modules/datasource/ruby-version/index', () => {
       await expect(
         getPkgReleases({ datasource, depName: 'ruby' })
       ).rejects.toThrow();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('throws for 404', async () => {
@@ -38,7 +36,6 @@ describe('modules/datasource/ruby-version/index', () => {
       await expect(
         getPkgReleases({ datasource, depName: 'ruby' })
       ).rejects.toThrow();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 });
diff --git a/lib/modules/datasource/rubygems/__snapshots__/index.spec.ts.snap b/lib/modules/datasource/rubygems/__snapshots__/index.spec.ts.snap
index f22b8984b778533314f4fa61a7ec3b546bbaa2a2..7a481d479e9adbd2be5c556006d854a0d1104dd5 100644
--- a/lib/modules/datasource/rubygems/__snapshots__/index.spec.ts.snap
+++ b/lib/modules/datasource/rubygems/__snapshots__/index.spec.ts.snap
@@ -1378,86 +1378,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/rubygems/index getReleases returns a dep for rubygems.org package hit 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "identity",
-      "host": "rubygems.org",
-      "range": "bytes=0-",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://rubygems.org/versions",
-  },
-]
-`;
-
-exports[`modules/datasource/rubygems/index getReleases returns null for missing pkg 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "thirdparty.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://thirdparty.com/api/v1/gems/rails.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "firstparty.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://firstparty.com/basepath/api/v1/gems/rails.json",
-  },
-]
-`;
-
-exports[`modules/datasource/rubygems/index getReleases returns null for rubygems.org package miss 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "identity",
-      "host": "rubygems.org",
-      "range": "bytes=0-",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://rubygems.org/versions",
-  },
-]
-`;
-
-exports[`modules/datasource/rubygems/index getReleases returns null if mismatched name 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "thirdparty.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://thirdparty.com/api/v1/gems/rails.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "firstparty.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://firstparty.com/basepath/api/v1/gems/rails.json",
-  },
-]
-`;
-
 exports[`modules/datasource/rubygems/index getReleases uses multiple source urls 1`] = `
 Object {
   "homepage": "http://rubyonrails.org",
@@ -3841,41 +3761,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/rubygems/index getReleases uses multiple source urls 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "thirdparty.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://thirdparty.com/api/v1/gems/rails.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "firstparty.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://firstparty.com/basepath/api/v1/gems/rails.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "firstparty.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://firstparty.com/basepath/api/v1/versions/rails.json",
-  },
-]
-`;
-
 exports[`modules/datasource/rubygems/index getReleases uses rubygems.org if no registry urls were provided 1`] = `
 Object {
   "registryUrl": "https://rubygems.org",
@@ -3890,21 +3775,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/rubygems/index getReleases uses rubygems.org if no registry urls were provided 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "identity",
-      "host": "rubygems.org",
-      "range": "bytes=0-",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://rubygems.org/versions",
-  },
-]
-`;
-
 exports[`modules/datasource/rubygems/index getReleases works with real data 1`] = `
 Object {
   "homepage": "http://rubyonrails.org",
@@ -6287,28 +6157,3 @@ Object {
   "sourceUrl": "https://github.com/rails/rails",
 }
 `;
-
-exports[`modules/datasource/rubygems/index getReleases works with real data 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "thirdparty.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://thirdparty.com/api/v1/gems/rails.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "thirdparty.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://thirdparty.com/api/v1/versions/rails.json",
-  },
-]
-`;
diff --git a/lib/modules/datasource/rubygems/index.spec.ts b/lib/modules/datasource/rubygems/index.spec.ts
index ed15dd4f0db5e006afc53892dbc99ec814c8f65b..5e268a36620bc14c224f84223076fb007e31f9c6 100644
--- a/lib/modules/datasource/rubygems/index.spec.ts
+++ b/lib/modules/datasource/rubygems/index.spec.ts
@@ -49,7 +49,6 @@ describe('modules/datasource/rubygems/index', () => {
         .get('/api/v1/gems/rails.json')
         .reply(200, null);
       expect(await getPkgReleases(params)).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('returns null for rubygems.org package miss', async () => {
@@ -61,7 +60,6 @@ describe('modules/datasource/rubygems/index', () => {
         .reply(200, rubygemsOrgVersions);
       const res = await getPkgReleases(newparams);
       expect(res).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('returns a dep for rubygems.org package hit', async () => {
@@ -84,7 +82,6 @@ describe('modules/datasource/rubygems/index', () => {
       expect(
         res.releases.find((release) => release.version === '0.1.2')
       ).toBeUndefined();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('uses rubygems.org if no registry urls were provided', async () => {
@@ -108,7 +105,6 @@ describe('modules/datasource/rubygems/index', () => {
       expect(res).not.toBeNull();
       expect(res.releases).toHaveLength(2);
       expect(res).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('works with real data', async () => {
@@ -122,7 +118,6 @@ describe('modules/datasource/rubygems/index', () => {
       const res = await getPkgReleases(params);
       expect(res.releases).toHaveLength(339);
       expect(res).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('uses multiple source urls', async () => {
@@ -140,7 +135,6 @@ describe('modules/datasource/rubygems/index', () => {
       const res = await getPkgReleases(params);
       expect(res.releases).toHaveLength(339);
       expect(res).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('returns null if mismatched name', async () => {
@@ -153,7 +147,6 @@ describe('modules/datasource/rubygems/index', () => {
         .get('/basepath/api/v1/gems/rails.json')
         .reply(200, null);
       expect(await getPkgReleases(params)).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('falls back to info when version request fails', async () => {
diff --git a/lib/modules/datasource/terraform-module/__snapshots__/index.spec.ts.snap b/lib/modules/datasource/terraform-module/__snapshots__/index.spec.ts.snap
index 67b10c1f4b1213e0c203ed0ce35d912952a510f6..8a81139bdbf03678c4503c2cf457e4235846e906 100644
--- a/lib/modules/datasource/terraform-module/__snapshots__/index.spec.ts.snap
+++ b/lib/modules/datasource/terraform-module/__snapshots__/index.spec.ts.snap
@@ -80,57 +80,7 @@ Object {
 }
 `;
 
-exports[`modules/datasource/terraform-module/index getReleases processes real data 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.terraform.io",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.terraform.io/.well-known/terraform.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.terraform.io",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.terraform.io/v1/modules/hashicorp/consul/aws",
-  },
-]
-`;
-
 exports[`modules/datasource/terraform-module/index getReleases processes real data on changed subpath 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "terraform.foo.bar",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://terraform.foo.bar/.well-known/terraform.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "terraform.foo.bar",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://terraform.foo.bar/api/registry/v1/modules/hashicorp/consul/aws",
-  },
-]
-`;
-
-exports[`modules/datasource/terraform-module/index getReleases processes real data on changed subpath 2`] = `
 Object {
   "registryUrl": "https://terraform.foo.bar",
   "releases": Array [
@@ -288,143 +238,3 @@ Object {
   "sourceUrl": "https://github.com/hashicorp/terraform-aws-consul",
 }
 `;
-
-exports[`modules/datasource/terraform-module/index getReleases processes with registry in name 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.terraform.io",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.terraform.io/.well-known/terraform.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.terraform.io",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.terraform.io/v1/modules/hashicorp/consul/aws",
-  },
-]
-`;
-
-exports[`modules/datasource/terraform-module/index getReleases rejects mismatch 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "terraform.company.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://terraform.company.com/.well-known/terraform.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "terraform.company.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://terraform.company.com/v1/modules/consul/foo",
-  },
-]
-`;
-
-exports[`modules/datasource/terraform-module/index getReleases rejects servicediscovery 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "terraform.company.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://terraform.company.com/.well-known/terraform.json",
-  },
-]
-`;
-
-exports[`modules/datasource/terraform-module/index getReleases returns null for 404 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.terraform.io",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.terraform.io/.well-known/terraform.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.terraform.io",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.terraform.io/v1/modules/hashicorp/consul/aws",
-  },
-]
-`;
-
-exports[`modules/datasource/terraform-module/index getReleases returns null for empty result 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.terraform.io",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.terraform.io/.well-known/terraform.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.terraform.io",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.terraform.io/v1/modules/hashicorp/consul/aws",
-  },
-]
-`;
-
-exports[`modules/datasource/terraform-module/index getReleases returns null for unknown error 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.terraform.io",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.terraform.io/.well-known/terraform.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.terraform.io",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.terraform.io/v1/modules/hashicorp/consul/aws",
-  },
-]
-`;
diff --git a/lib/modules/datasource/terraform-module/index.spec.ts b/lib/modules/datasource/terraform-module/index.spec.ts
index cfc473d021653901a93d402ec02f6d036ef51ad4..a06f670fc26c99cb42ad8dbdf19e7e6772fcaa05 100644
--- a/lib/modules/datasource/terraform-module/index.spec.ts
+++ b/lib/modules/datasource/terraform-module/index.spec.ts
@@ -32,7 +32,6 @@ describe('modules/datasource/terraform-module/index', () => {
           depName: 'hashicorp/consul/aws',
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns null for 404', async () => {
       httpMock
@@ -47,7 +46,6 @@ describe('modules/datasource/terraform-module/index', () => {
           depName: 'hashicorp/consul/aws',
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns null for unknown error', async () => {
       httpMock
@@ -62,7 +60,6 @@ describe('modules/datasource/terraform-module/index', () => {
           depName: 'hashicorp/consul/aws',
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('processes real data', async () => {
       httpMock
@@ -77,7 +74,6 @@ describe('modules/datasource/terraform-module/index', () => {
       });
       expect(res).toMatchSnapshot();
       expect(res).not.toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('processes with registry in name', async () => {
       httpMock
@@ -92,7 +88,6 @@ describe('modules/datasource/terraform-module/index', () => {
       });
       expect(res).toMatchSnapshot();
       expect(res).not.toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('rejects mismatch', async () => {
       httpMock
@@ -107,7 +102,6 @@ describe('modules/datasource/terraform-module/index', () => {
         registryUrls: ['https://terraform.company.com'],
       });
       expect(res).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('rejects servicediscovery', async () => {
       httpMock
@@ -120,7 +114,6 @@ describe('modules/datasource/terraform-module/index', () => {
         registryUrls: ['https://terraform.company.com'],
       });
       expect(res).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('processes real data on changed subpath', async () => {
       httpMock
@@ -134,7 +127,7 @@ describe('modules/datasource/terraform-module/index', () => {
         registryUrls: ['https://terraform.foo.bar'],
         depName: 'hashicorp/consul/aws',
       });
-      expect(httpMock.getTrace()).toMatchSnapshot();
+
       expect(res).toMatchSnapshot();
       expect(res).not.toBeNull();
     });
diff --git a/lib/modules/datasource/terraform-provider/__snapshots__/index.spec.ts.snap b/lib/modules/datasource/terraform-provider/__snapshots__/index.spec.ts.snap
index efd6dec151f8df9cd779a10f8f68122d64ded3f3..cdf837d2804d7565f72f3bb111d543517e8084a5 100644
--- a/lib/modules/datasource/terraform-provider/__snapshots__/index.spec.ts.snap
+++ b/lib/modules/datasource/terraform-provider/__snapshots__/index.spec.ts.snap
@@ -41,186 +41,6 @@ Array [
 ]
 `;
 
-exports[`modules/datasource/terraform-provider/index getBuilds processes real data 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.terraform.io",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.terraform.io/.well-known/terraform.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.terraform.io",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.terraform.io/v1/providers/Telmate/proxmox/versions",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.terraform.io",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.terraform.io/v1/providers/Telmate/proxmox/2.6.1/download/darwin/arm64",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.terraform.io",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.terraform.io/v1/providers/Telmate/proxmox/2.6.1/download/linux/amd64",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.terraform.io",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.terraform.io/v1/providers/Telmate/proxmox/2.6.1/download/linux/arm",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.terraform.io",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.terraform.io/v1/providers/Telmate/proxmox/2.6.1/download/windows/amd64",
-  },
-]
-`;
-
-exports[`modules/datasource/terraform-provider/index getBuilds return null if the retrieval of a single build fails 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.terraform.io",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.terraform.io/.well-known/terraform.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.terraform.io",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.terraform.io/v1/providers/Telmate/proxmox/versions",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.terraform.io",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.terraform.io/v1/providers/Telmate/proxmox/2.6.1/download/darwin/arm64",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.terraform.io",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.terraform.io/v1/providers/Telmate/proxmox/2.6.1/download/linux/amd64",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.terraform.io",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.terraform.io/v1/providers/Telmate/proxmox/2.6.1/download/linux/arm",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.terraform.io",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.terraform.io/v1/providers/Telmate/proxmox/2.6.1/download/windows/amd64",
-  },
-]
-`;
-
-exports[`modules/datasource/terraform-provider/index getBuilds returns null for empty result 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.terraform.io",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.terraform.io/.well-known/terraform.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.terraform.io",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.terraform.io/v1/providers/hashicorp/azurerm/versions",
-  },
-]
-`;
-
-exports[`modules/datasource/terraform-provider/index getBuilds returns null if a version is requested which is not available 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.terraform.io",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.terraform.io/.well-known/terraform.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.terraform.io",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.terraform.io/v1/providers/Telmate/proxmox/versions",
-  },
-]
-`;
-
 exports[`modules/datasource/terraform-provider/index getReleases processes data with alternative backend 1`] = `
 Object {
   "registryUrl": "https://releases.hashicorp.com",
@@ -239,41 +59,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/terraform-provider/index getReleases processes data with alternative backend 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.terraform.io",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.terraform.io/.well-known/terraform.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.terraform.io",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.terraform.io/v1/providers/hashicorp/google-beta",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "releases.hashicorp.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://releases.hashicorp.com/index.json",
-  },
-]
-`;
-
 exports[`modules/datasource/terraform-provider/index getReleases processes real data 1`] = `
 Object {
   "homepage": "https://registry.terraform.io/providers/hashicorp/azurerm",
@@ -291,31 +76,6 @@ Object {
 }
 `;
 
-exports[`modules/datasource/terraform-provider/index getReleases processes real data 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.terraform.io",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.terraform.io/.well-known/terraform.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.terraform.io",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.terraform.io/v1/providers/hashicorp/azurerm",
-  },
-]
-`;
-
 exports[`modules/datasource/terraform-provider/index getReleases processes real data from packageName 1`] = `
 Object {
   "homepage": "https://registry.company.com/providers/hashicorp/azurerm",
@@ -332,195 +92,3 @@ Object {
   "sourceUrl": "https://github.com/terraform-providers/terraform-provider-azurerm",
 }
 `;
-
-exports[`modules/datasource/terraform-provider/index getReleases processes real data from packageName 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.company.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.company.com/.well-known/terraform.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.company.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.company.com/v1/providers/hashicorp/azurerm",
-  },
-]
-`;
-
-exports[`modules/datasource/terraform-provider/index getReleases returns null for 404 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.terraform.io",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.terraform.io/.well-known/terraform.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.terraform.io",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.terraform.io/v1/providers/hashicorp/azurerm",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "releases.hashicorp.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://releases.hashicorp.com/index.json",
-  },
-]
-`;
-
-exports[`modules/datasource/terraform-provider/index getReleases returns null for empty result 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.terraform.io",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.terraform.io/.well-known/terraform.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.terraform.io",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.terraform.io/v1/providers/hashicorp/azurerm",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "releases.hashicorp.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://releases.hashicorp.com/index.json",
-  },
-]
-`;
-
-exports[`modules/datasource/terraform-provider/index getReleases returns null for error in service discovery 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.terraform.io",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.terraform.io/.well-known/terraform.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "releases.hashicorp.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://releases.hashicorp.com/index.json",
-  },
-]
-`;
-
-exports[`modules/datasource/terraform-provider/index getReleases returns null for unknown error 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.terraform.io",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.terraform.io/.well-known/terraform.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.terraform.io",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.terraform.io/v1/providers/hashicorp/azurerm",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "releases.hashicorp.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://releases.hashicorp.com/index.json",
-  },
-]
-`;
-
-exports[`modules/datasource/terraform-provider/index getReleases simulate failing secondary release source 1`] = `null`;
-
-exports[`modules/datasource/terraform-provider/index getReleases simulate failing secondary release source 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.terraform.io",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.terraform.io/.well-known/terraform.json",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.terraform.io",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.terraform.io/v1/providers/hashicorp/datadog",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "releases.hashicorp.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://releases.hashicorp.com/index.json",
-  },
-]
-`;
diff --git a/lib/modules/datasource/terraform-provider/index.spec.ts b/lib/modules/datasource/terraform-provider/index.spec.ts
index b996964864766dfe2a72951358d2f4aa89b0a989..3d16eccfc2747e84a20dc9775dc868bbef791f1a 100644
--- a/lib/modules/datasource/terraform-provider/index.spec.ts
+++ b/lib/modules/datasource/terraform-provider/index.spec.ts
@@ -30,7 +30,6 @@ describe('modules/datasource/terraform-provider/index', () => {
           depName: 'azurerm',
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns null for 404', async () => {
       httpMock
@@ -46,7 +45,6 @@ describe('modules/datasource/terraform-provider/index', () => {
           depName: 'azurerm',
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns null for unknown error', async () => {
       httpMock
@@ -62,7 +60,6 @@ describe('modules/datasource/terraform-provider/index', () => {
           depName: 'azurerm',
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('processes real data', async () => {
       httpMock
@@ -77,7 +74,6 @@ describe('modules/datasource/terraform-provider/index', () => {
       });
       expect(res).toMatchSnapshot();
       expect(res).not.toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('processes real data from packageName', async () => {
@@ -95,7 +91,6 @@ describe('modules/datasource/terraform-provider/index', () => {
       });
       expect(res).toMatchSnapshot();
       expect(res).not.toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('processes data with alternative backend', async () => {
       httpMock
@@ -117,7 +112,6 @@ describe('modules/datasource/terraform-provider/index', () => {
       });
       expect(res).toMatchSnapshot();
       expect(res).not.toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('simulate failing secondary release source', async () => {
       httpMock
@@ -134,9 +128,7 @@ describe('modules/datasource/terraform-provider/index', () => {
         datasource: TerraformProviderDatasource.id,
         depName: 'datadog',
       });
-      expect(res).toMatchSnapshot();
       expect(res).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns null for error in service discovery', async () => {
       httpMock.scope(primaryUrl).get('/.well-known/terraform.json').reply(404);
@@ -147,7 +139,6 @@ describe('modules/datasource/terraform-provider/index', () => {
           depName: 'azurerm',
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
   describe('getBuilds', () => {
@@ -165,7 +156,6 @@ describe('modules/datasource/terraform-provider/index', () => {
         '2.50.0'
       );
       expect(result).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('returns null for non hashicorp dependency and releases.hashicorp.com registryUrl', async () => {
@@ -190,7 +180,6 @@ describe('modules/datasource/terraform-provider/index', () => {
         '2.8.0'
       );
       expect(result).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('processes real data', async () => {
@@ -235,7 +224,6 @@ describe('modules/datasource/terraform-provider/index', () => {
       );
       expect(res).toMatchSnapshot();
       expect(res).not.toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('return null if the retrieval of a single build fails', async () => {
@@ -274,7 +262,6 @@ describe('modules/datasource/terraform-provider/index', () => {
         '2.6.1'
       );
       expect(res).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 });
diff --git a/lib/modules/manager/bazel/__snapshots__/update.spec.ts.snap b/lib/modules/manager/bazel/__snapshots__/update.spec.ts.snap
index 0d97c50bce3d3dc7dcc2b8c808a35b87372f7792..bd6d620020c764b57d4955520ada4d090667ae62 100644
--- a/lib/modules/manager/bazel/__snapshots__/update.spec.ts.snap
+++ b/lib/modules/manager/bazel/__snapshots__/update.spec.ts.snap
@@ -131,20 +131,6 @@ http_file(
 "
 `;
 
-exports[`modules/manager/bazel/update updateDependency updates commit-based http archive 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://github.com/GoogleContainerTools/distroless/archive/033387ac8853e6cc1cd47df6c346bc53cbc490d8.tar.gz",
-  },
-]
-`;
-
 exports[`modules/manager/bazel/update updateDependency updates container_pull deptype and preserves comment 1`] = `
 "container_pull(
           name=\\"hasura\\",
@@ -156,54 +142,3 @@ exports[`modules/manager/bazel/update updateDependency updates container_pull de
       )
 "
 `;
-
-exports[`modules/manager/bazel/update updateDependency updates finds url instead of urls 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://github.com/bazelbuild/bazel-skylib/archive/0.8.0.tar.gz",
-  },
-]
-`;
-
-exports[`modules/manager/bazel/update updateDependency updates http archive with content other then WORKSPACE 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://github.com/bazelbuild/bazel-skylib/archive/0.8.0.tar.gz",
-  },
-]
-`;
-
-exports[`modules/manager/bazel/update updateDependency updates http_archive with urls array 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "mirror.bazel.build",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/archive/0.6.2.tar.gz",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://github.com/bazelbuild/bazel-skylib/archive/0.6.2.tar.gz",
-  },
-]
-`;
diff --git a/lib/modules/manager/bazel/update.spec.ts b/lib/modules/manager/bazel/update.spec.ts
index 767ce605934b077f58df6175b890b0b8036b1e2c..5c6f6451c0a85080ea695c830437a20acd4448c9 100644
--- a/lib/modules/manager/bazel/update.spec.ts
+++ b/lib/modules/manager/bazel/update.spec.ts
@@ -119,7 +119,6 @@ describe('modules/manager/bazel/update', () => {
         upgrade,
       });
       expect(res).not.toEqual(content);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('updates http archive with content other then WORKSPACE', async () => {
       const upgrade = {
@@ -147,7 +146,6 @@ describe('modules/manager/bazel/update', () => {
       });
       expect(res).not.toEqual(fileWithBzlExtension);
       expect(res.indexOf('0.8.0')).not.toBe(-1);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('updates finds url instead of urls', async () => {
       const upgrade = {
@@ -175,7 +173,6 @@ describe('modules/manager/bazel/update', () => {
       });
       expect(res).not.toEqual(fileWithBzlExtension);
       expect(res.indexOf('0.8.0')).not.toBe(-1);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns null if no urls resolve hashes', async () => {
       const upgrade = {
@@ -266,7 +263,6 @@ http_archive(
       expect(res).not.toEqual(content);
       expect(res.indexOf('0.5.0')).toBe(-1);
       expect(res.indexOf('0.6.2')).not.toBe(-1);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 });
diff --git a/lib/modules/manager/gradle-wrapper/artifacts-real.spec.ts b/lib/modules/manager/gradle-wrapper/artifacts-real.spec.ts
index 34d460f87062fca277eb71a16d0eb4dc97bb831f..342cb73c06065af83c7876408bcb33a920bff91a 100644
--- a/lib/modules/manager/gradle-wrapper/artifacts-real.spec.ts
+++ b/lib/modules/manager/gradle-wrapper/artifacts-real.spec.ts
@@ -248,19 +248,6 @@ describe('modules/manager/gradle-wrapper/artifacts-real', () => {
           `gradle/wrapper/gradle-wrapper.properties`
         )
       ).toEqual(newContent);
-
-      expect(httpMock.getTrace()).toEqual([
-        {
-          headers: {
-            'accept-encoding': 'gzip, deflate, br',
-            host: 'services.gradle.org',
-            'user-agent':
-              'RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)',
-          },
-          method: 'GET',
-          url: 'https://services.gradle.org/distributions/gradle-6.3-bin.zip.sha256',
-        },
-      ]);
     });
 
     it('distributionSha256Sum 404', async () => {
@@ -284,18 +271,6 @@ describe('modules/manager/gradle-wrapper/artifacts-real', () => {
           },
         },
       ]);
-      expect(httpMock.getTrace()).toEqual([
-        {
-          headers: {
-            'accept-encoding': 'gzip, deflate, br',
-            host: 'services.gradle.org',
-            'user-agent':
-              'RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)',
-          },
-          method: 'GET',
-          url: 'https://services.gradle.org/distributions/gradle-6.3-bin.zip.sha256',
-        },
-      ]);
     });
   });
 });
diff --git a/lib/modules/manager/gradle-wrapper/artifacts.spec.ts b/lib/modules/manager/gradle-wrapper/artifacts.spec.ts
index 6318795b23cc0c3c0d5afbd555ba560fc90ac0b8..0ae9358128664895708ae34d6de8b14cba9157a9 100644
--- a/lib/modules/manager/gradle-wrapper/artifacts.spec.ts
+++ b/lib/modules/manager/gradle-wrapper/artifacts.spec.ts
@@ -158,18 +158,6 @@ describe('modules/manager/gradle-wrapper/artifacts', () => {
     expect(result[0].artifactError).toBeUndefined();
 
     expect(execSnapshots).toMatchSnapshot();
-    expect(httpMock.getTrace()).toEqual([
-      {
-        headers: {
-          'accept-encoding': 'gzip, deflate, br',
-          host: 'services.gradle.org',
-          'user-agent':
-            'RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)',
-        },
-        method: 'GET',
-        url: 'https://services.gradle.org/distributions/gradle-6.3-bin.zip.sha256',
-      },
-    ]);
   });
 
   it('distributionSha256Sum 404', async () => {
@@ -193,17 +181,5 @@ describe('modules/manager/gradle-wrapper/artifacts', () => {
         },
       },
     ]);
-    expect(httpMock.getTrace()).toEqual([
-      {
-        headers: {
-          'accept-encoding': 'gzip, deflate, br',
-          host: 'services.gradle.org',
-          'user-agent':
-            'RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)',
-        },
-        method: 'GET',
-        url: 'https://services.gradle.org/distributions/gradle-6.3-bin.zip.sha256',
-      },
-    ]);
   });
 });
diff --git a/lib/modules/manager/homebrew/__snapshots__/update.spec.ts.snap b/lib/modules/manager/homebrew/__snapshots__/update.spec.ts.snap
index d99aa6fe53cd116408830c1869d3bc8dda62d4f0..3b2efd73cb9efff80e99d20f64f5d22d4ecc39c1 100644
--- a/lib/modules/manager/homebrew/__snapshots__/update.spec.ts.snap
+++ b/lib/modules/manager/homebrew/__snapshots__/update.spec.ts.snap
@@ -63,154 +63,6 @@ end
 "
 `;
 
-exports[`modules/manager/homebrew/update returns unchanged content if both got requests fail 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://github.com/aide/aide/releases/download/v0.17.7/aide-0.17.7.tar.gz",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://github.com/aide/aide/archive/v0.17.7.tar.gz",
-  },
-]
-`;
-
-exports[`modules/manager/homebrew/update returns unchanged content if fromStream promise rejects 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://github.com/bazelbuild/bazel-watcher/releases/download/v0.9.3/bazel-watcher-0.9.3.tar.gz",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://github.com/bazelbuild/bazel-watcher/archive/v0.9.3.tar.gz",
-  },
-]
-`;
-
-exports[`modules/manager/homebrew/update returns unchanged content if repoName in upgrade object is invalid 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://github.com/bazelbuild/invalid/repo/name/releases/download/v0.9.3/invalid/repo/name-0.9.3.tar.gz",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://github.com/bazelbuild/invalid/repo/name/archive/v0.9.3.tar.gz",
-  },
-]
-`;
-
-exports[`modules/manager/homebrew/update returns unchanged content if repoName in upgrade object is wrong 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://github.com/bazelbuild/wrong-version/archive/v10.2.3.tar.gz/releases/download/v0.9.3/wrong-version/archive/v10.2.3.tar.gz-0.9.3.tar.gz",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://github.com/bazelbuild/wrong-version/archive/v10.2.3.tar.gz/archive/v0.9.3.tar.gz",
-  },
-]
-`;
-
-exports[`modules/manager/homebrew/update returns unchanged content if sha256 field in Formula file is invalid 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://github.com/bazelbuild/bazel-watcher/releases/download/v0.9.3/bazel-watcher-0.9.3.tar.gz",
-  },
-]
-`;
-
-exports[`modules/manager/homebrew/update returns unchanged content if sha256 field in Formula file is missing 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://github.com/bazelbuild/bazel-watcher/releases/download/v0.9.3/bazel-watcher-0.9.3.tar.gz",
-  },
-]
-`;
-
-exports[`modules/manager/homebrew/update returns unchanged content if url field in Formula file is invalid 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://github.com/bazelbuild/bazel-watcher/releases/download/v0.9.3/bazel-watcher-0.9.3.tar.gz",
-  },
-]
-`;
-
-exports[`modules/manager/homebrew/update returns unchanged content if url field in Formula file is missing 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://github.com/bazelbuild/bazel-watcher/releases/download/v0.9.3/bazel-watcher-0.9.3.tar.gz",
-  },
-]
-`;
-
 exports[`modules/manager/homebrew/update updates "archive" github dependency 1`] = `
 "# Copyright 2018 The Bazel Authors. All rights reserved.
 #
@@ -262,20 +114,6 @@ end
 "
 `;
 
-exports[`modules/manager/homebrew/update updates "archive" github dependency 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://github.com/bazelbuild/bazel-watcher/releases/download/v0.9.3/bazel-watcher-0.9.3.tar.gz",
-  },
-]
-`;
-
 exports[`modules/manager/homebrew/update updates "releases" github dependency 1`] = `
 "=begin
   url \\"https://github.com/aide/aide/releases/download/v0.16.1/aide-0.16.1.tar.gz\\"
@@ -338,17 +176,3 @@ class Aide < Formula
 end
 "
 `;
-
-exports[`modules/manager/homebrew/update updates "releases" github dependency 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://github.com/aide/aide/releases/download/v0.17.7/aide-0.17.7.tar.gz",
-  },
-]
-`;
diff --git a/lib/modules/manager/homebrew/update.spec.ts b/lib/modules/manager/homebrew/update.spec.ts
index 658b4de4c44cf0610b38534808391370966b9e89..0ffee0ddf834b72653ec3ce86031a0b7dc38e370 100644
--- a/lib/modules/manager/homebrew/update.spec.ts
+++ b/lib/modules/manager/homebrew/update.spec.ts
@@ -38,7 +38,6 @@ describe('modules/manager/homebrew/update', () => {
     expect(newContent).not.toBeNull();
     expect(newContent).not.toBe(aide);
     expect(newContent).toMatchSnapshot();
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
   it('updates "archive" github dependency', async () => {
     const upgrade = {
@@ -66,7 +65,6 @@ describe('modules/manager/homebrew/update', () => {
     expect(newContent).not.toBeNull();
     expect(newContent).not.toBe(ibazel);
     expect(newContent).toMatchSnapshot();
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
   it('returns unchanged content if fromStream promise rejects', async () => {
     const upgrade = {
@@ -95,7 +93,6 @@ describe('modules/manager/homebrew/update', () => {
     });
     expect(newContent).not.toBeNull();
     expect(newContent).toBe(ibazel);
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
   it('returns unchanged content if url field in upgrade object is invalid', async () => {
     const content = ibazel;
@@ -146,7 +143,6 @@ describe('modules/manager/homebrew/update', () => {
     });
     expect(newContent).not.toBeNull();
     expect(newContent).toBe(content);
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
   it('returns unchanged content if repoName in upgrade object is wrong', async () => {
     const content = ibazel;
@@ -178,7 +174,6 @@ describe('modules/manager/homebrew/update', () => {
     });
     expect(newContent).not.toBeNull();
     expect(newContent).toBe(content);
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
   it('returns unchanged content if url field in Formula file is invalid', async () => {
     const content = `
@@ -213,7 +208,6 @@ describe('modules/manager/homebrew/update', () => {
     });
     expect(newContent).not.toBeNull();
     expect(newContent).toBe(content);
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
   it('returns unchanged content if url field in Formula file is missing', async () => {
     const content = `
@@ -247,7 +241,6 @@ describe('modules/manager/homebrew/update', () => {
     });
     expect(newContent).not.toBeNull();
     expect(newContent).toBe(content);
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
   it('returns unchanged content if sha256 field in Formula file is invalid', async () => {
     const content = `
@@ -282,7 +275,6 @@ describe('modules/manager/homebrew/update', () => {
     });
     expect(newContent).not.toBeNull();
     expect(newContent).toBe(content);
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
   it('returns unchanged content if sha256 field in Formula file is missing', async () => {
     const content = `
@@ -316,7 +308,6 @@ describe('modules/manager/homebrew/update', () => {
     });
     expect(newContent).not.toBeNull();
     expect(newContent).toBe(content);
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
   it('returns unchanged content if both got requests fail', async () => {
     const upgrade = {
@@ -344,6 +335,5 @@ describe('modules/manager/homebrew/update', () => {
     expect(newContent).not.toBeNull();
     expect(newContent).toBe(aide);
     expect(newContent).toMatchSnapshot();
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
 });
diff --git a/lib/modules/manager/npm/update/locked-dependency/__snapshots__/index.spec.ts.snap b/lib/modules/manager/npm/update/locked-dependency/__snapshots__/index.spec.ts.snap
deleted file mode 100644
index 6157c6e2f248c652148e765bd77aa661438c00dd..0000000000000000000000000000000000000000
--- a/lib/modules/manager/npm/update/locked-dependency/__snapshots__/index.spec.ts.snap
+++ /dev/null
@@ -1,46 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`modules/manager/npm/update/locked-dependency/index updateLockedDependency() remediates mime 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.npmjs.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.npmjs.org/mime",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.npmjs.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.npmjs.org/send",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.npmjs.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.npmjs.org/type-is",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.npmjs.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.npmjs.org/serve-static",
-  },
-]
-`;
diff --git a/lib/modules/manager/npm/update/locked-dependency/common/__snapshots__/parent-version.spec.ts.snap b/lib/modules/manager/npm/update/locked-dependency/common/__snapshots__/parent-version.spec.ts.snap
deleted file mode 100644
index 02ee7bc07680b3dfcaef3e5d42cb683347d92d6c..0000000000000000000000000000000000000000
--- a/lib/modules/manager/npm/update/locked-dependency/common/__snapshots__/parent-version.spec.ts.snap
+++ /dev/null
@@ -1,86 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`modules/manager/npm/update/locked-dependency/common/parent-version getLockedDependencies() finds indirect dependency 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.npmjs.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.npmjs.org/send",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.npmjs.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.npmjs.org/express",
-  },
-]
-`;
-
-exports[`modules/manager/npm/update/locked-dependency/common/parent-version getLockedDependencies() finds removed dependencies 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.npmjs.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.npmjs.org/buffer-crc32",
-  },
-]
-`;
-
-exports[`modules/manager/npm/update/locked-dependency/common/parent-version getLockedDependencies() finds when a greater version is needed 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.npmjs.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.npmjs.org/qs",
-  },
-]
-`;
-
-exports[`modules/manager/npm/update/locked-dependency/common/parent-version getLockedDependencies() finds when a range matches greater versions 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.npmjs.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.npmjs.org/type-is",
-  },
-]
-`;
-
-exports[`modules/manager/npm/update/locked-dependency/common/parent-version getLockedDependencies() returns null if no matching 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "registry.npmjs.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://registry.npmjs.org/debug",
-  },
-]
-`;
diff --git a/lib/modules/manager/npm/update/locked-dependency/common/parent-version.spec.ts b/lib/modules/manager/npm/update/locked-dependency/common/parent-version.spec.ts
index 26bc29d7fd054f98a709047d4b9fba7ef0b6b207..fd86adde5d6bae09565fcac6a0bd51583b2723b4 100644
--- a/lib/modules/manager/npm/update/locked-dependency/common/parent-version.spec.ts
+++ b/lib/modules/manager/npm/update/locked-dependency/common/parent-version.spec.ts
@@ -29,7 +29,6 @@ describe('modules/manager/npm/update/locked-dependency/common/parent-version', (
       expect(
         await findFirstParentVersion('express', '4.0.0', 'send', '0.11.1')
       ).toBe('4.11.1');
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('finds removed dependencies', async () => {
@@ -53,7 +52,6 @@ describe('modules/manager/npm/update/locked-dependency/common/parent-version', (
           '10.0.0'
         )
       ).toBe('4.9.1');
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('finds when a greater version is needed', async () => {
@@ -74,7 +72,6 @@ describe('modules/manager/npm/update/locked-dependency/common/parent-version', (
       expect(
         await findFirstParentVersion('express', '4.0.0', 'qs', '6.0.4')
       ).toBe('4.14.0');
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('finds when a range matches greater versions', async () => {
@@ -94,7 +91,6 @@ describe('modules/manager/npm/update/locked-dependency/common/parent-version', (
       expect(
         await findFirstParentVersion('express', '4.16.1', 'type-is', '1.2.1')
       ).toBe('4.16.1');
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('returns null if no matching', async () => {
@@ -113,7 +109,6 @@ describe('modules/manager/npm/update/locked-dependency/common/parent-version', (
       expect(
         await findFirstParentVersion('express', '4.16.1', 'debug', '9.0.0')
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 });
diff --git a/lib/modules/manager/npm/update/locked-dependency/index.spec.ts b/lib/modules/manager/npm/update/locked-dependency/index.spec.ts
index 57fb27ae8dc1d6276e6a1130e23a08308aaab43b..0887d7ec1d320d0b9c11ad76e1c69b726ffe8c92 100644
--- a/lib/modules/manager/npm/update/locked-dependency/index.spec.ts
+++ b/lib/modules/manager/npm/update/locked-dependency/index.spec.ts
@@ -204,7 +204,6 @@ describe('modules/manager/npm/update/locked-dependency/index', () => {
       const packageLock = JSON.parse(res.files['package-lock.json']);
       expect(packageLock.dependencies.mime.version).toBe('1.4.1');
       expect(packageLock.dependencies.express.version).toBe('4.16.0');
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('fails remediation if cannot update parent', async () => {
       config.depName = 'mime';
diff --git a/lib/modules/manager/regex/__snapshots__/index.spec.ts.snap b/lib/modules/manager/regex/__snapshots__/index.spec.ts.snap
index f39ce69be734345dd0467cb4812cc3816a6475ce..bd779a5e07de0e191cc20efbae7c0cc1f16ecebe 100644
--- a/lib/modules/manager/regex/__snapshots__/index.spec.ts.snap
+++ b/lib/modules/manager/regex/__snapshots__/index.spec.ts.snap
@@ -329,10 +329,6 @@ Object {
 }
 `;
 
-exports[`modules/manager/regex/index extracts with recursive strategy and fail because of not sufficient regexes 1`] = `null`;
-
-exports[`modules/manager/regex/index extracts with recursive strategy and fail because there is no match 1`] = `null`;
-
 exports[`modules/manager/regex/index extracts with recursive strategy and merged groups 1`] = `
 Object {
   "depNameTemplate": "{{{ first }}}/{{{ second }}}/{{{ depName }}}",
diff --git a/lib/modules/manager/regex/index.spec.ts b/lib/modules/manager/regex/index.spec.ts
index 34efc95d1e70710c026e566c4c40d7bb18325fc2..701026fd3409af7939ac3368e272962319d836bc 100644
--- a/lib/modules/manager/regex/index.spec.ts
+++ b/lib/modules/manager/regex/index.spec.ts
@@ -373,7 +373,6 @@ describe('modules/manager/regex/index', () => {
       'example.json',
       config
     );
-    expect(res).toMatchSnapshot();
     expect(res).toBeNull();
   });
   it('extracts with recursive strategy and fail because there is no match', async () => {
@@ -386,7 +385,6 @@ describe('modules/manager/regex/index', () => {
       'example.json',
       config
     );
-    expect(res).toMatchSnapshot();
     expect(res).toBeNull();
   });
   it('extracts with recursive strategy and merged groups', async () => {
diff --git a/lib/modules/manager/terraform/lockfile/__snapshots__/hash.spec.ts.snap b/lib/modules/manager/terraform/lockfile/__snapshots__/hash.spec.ts.snap
index 2d2c02b708cab87bdc5f4e57adf76ec2553d649d..4242f8779f21f320a5c6a56baa8323f740ed28b9 100644
--- a/lib/modules/manager/terraform/lockfile/__snapshots__/hash.spec.ts.snap
+++ b/lib/modules/manager/terraform/lockfile/__snapshots__/hash.spec.ts.snap
@@ -1,53 +1,5 @@
 // Jest Snapshot v1, https://goo.gl/fbAQLP
 
-exports[`modules/manager/terraform/lockfile/hash backend index throws error 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "releases.hashicorp.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://releases.hashicorp.com/terraform-provider-azurerm/2.56.0/index.json",
-  },
-]
-`;
-
-exports[`modules/manager/terraform/lockfile/hash fail to create hashes 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "releases.hashicorp.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://releases.hashicorp.com/terraform-provider-azurerm/2.56.0/index.json",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "releases.hashicorp.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://releases.hashicorp.com/terraform-provider-azurerm/2.56.0/terraform-provider-azurerm_2.56.0_darwin_amd64.zip",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "releases.hashicorp.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://releases.hashicorp.com/terraform-provider-azurerm/2.56.0/terraform-provider-azurerm_2.56.0_linux_amd64.zip",
-  },
-]
-`;
-
 exports[`modules/manager/terraform/lockfile/hash full walkthrough 1`] = `Array []`;
 
 exports[`modules/manager/terraform/lockfile/hash full walkthrough 2`] = `
@@ -56,51 +8,3 @@ Array [
   "h1:I2F2atKZqKEOYk1tTLe15Llf9rVqxz48ZL1eZB9g8zM=",
 ]
 `;
-
-exports[`modules/manager/terraform/lockfile/hash full walkthrough 3`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "releases.hashicorp.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://releases.hashicorp.com/terraform-provider-azurerm/2.56.0/index.json",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "releases.hashicorp.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://releases.hashicorp.com/terraform-provider-azurerm/2.56.0/terraform-provider-azurerm_2.56.0_darwin_amd64.zip",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "releases.hashicorp.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://releases.hashicorp.com/terraform-provider-azurerm/2.56.0/terraform-provider-azurerm_2.56.0_linux_amd64.zip",
-  },
-]
-`;
-
-exports[`modules/manager/terraform/lockfile/hash return null if requesting a version which is not available 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "releases.hashicorp.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://releases.hashicorp.com/terraform-provider-azurerm/2.59.0/index.json",
-  },
-]
-`;
diff --git a/lib/modules/manager/terraform/lockfile/hash.spec.ts b/lib/modules/manager/terraform/lockfile/hash.spec.ts
index 66562e91ccc375cf9b73f8da8b8ab60c06f344cb..ac72ecc64b7e92c0ee47871a86fc4884e8f51a99 100644
--- a/lib/modules/manager/terraform/lockfile/hash.spec.ts
+++ b/lib/modules/manager/terraform/lockfile/hash.spec.ts
@@ -48,7 +48,6 @@ describe('modules/manager/terraform/lockfile/hash', () => {
       '2.59.0'
     );
     expect(result).toBeNull();
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
 
   it('backend index throws error', async () => {
@@ -63,7 +62,6 @@ describe('modules/manager/terraform/lockfile/hash', () => {
       '2.56.0'
     );
     expect(result).toBeNull();
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
 
   it('fail to create hashes', async () => {
@@ -93,7 +91,6 @@ describe('modules/manager/terraform/lockfile/hash', () => {
         '2.56.0'
       )
     ).rejects.toThrow();
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
 
   it('full walkthrough', async () => {
@@ -125,6 +122,5 @@ describe('modules/manager/terraform/lockfile/hash', () => {
     expect(result).not.toBeNull();
     expect(result).toBeArrayOfSize(2);
     expect(result).toMatchSnapshot();
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
 });
diff --git a/lib/modules/platform/azure/__snapshots__/index.spec.ts.snap b/lib/modules/platform/azure/__snapshots__/index.spec.ts.snap
index 727e80a6c2458958670b2fba6065ad8998a63da8..32ee7b4ee7d0f99d2d842af4fa1a5175dba3a7b3 100644
--- a/lib/modules/platform/azure/__snapshots__/index.spec.ts.snap
+++ b/lib/modules/platform/azure/__snapshots__/index.spec.ts.snap
@@ -199,8 +199,6 @@ Object {
 }
 `;
 
-exports[`modules/platform/azure/index getBranchPr(branchName) should return the pr 1`] = `null`;
-
 exports[`modules/platform/azure/index getJsonFile() supports fetch from another repo 1`] = `
 Array [
   Array [
diff --git a/lib/modules/platform/azure/index.spec.ts b/lib/modules/platform/azure/index.spec.ts
index bd6e3c5120cc46fe0f2a1f9d0d21681a383c04de..6f4f2727b7a6f70aae1b407b49939dbe5d65eca6 100644
--- a/lib/modules/platform/azure/index.spec.ts
+++ b/lib/modules/platform/azure/index.spec.ts
@@ -355,7 +355,8 @@ describe('modules/platform/azure/index', () => {
           } as any)
       );
       const pr = await azure.getBranchPr('somebranch');
-      expect(pr).toMatchSnapshot();
+      // TODO: should this return a PR instead?
+      expect(pr).toBeNull();
     });
   });
   describe('getBranchStatusCheck(branchName, context)', () => {
diff --git a/lib/modules/platform/bitbucket-server/__snapshots__/index.spec.ts.snap b/lib/modules/platform/bitbucket-server/__snapshots__/index.spec.ts.snap
index e5910fb337bf692a5e47d585bef169733d08d0de..ef262cf28d8d5d30c9375fc36e036332691bb77f 100644
--- a/lib/modules/platform/bitbucket-server/__snapshots__/index.spec.ts.snap
+++ b/lib/modules/platform/bitbucket-server/__snapshots__/index.spec.ts.snap
@@ -4,5588 +4,13 @@ exports[`modules/platform/bitbucket-server/index endpoint with no path addAssign
 
 exports[`modules/platform/bitbucket-server/index endpoint with no path addReviewers does not throw 1`] = `undefined`;
 
-exports[`modules/platform/bitbucket-server/index endpoint with no path addReviewers does not throw 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-  Object {
-    "body": Object {
-      "reviewers": Array [
-        Object {
-          "user": Object {
-            "name": "userName2",
-          },
-        },
-        Object {
-          "user": Object {
-            "name": "name",
-          },
-        },
-      ],
-      "title": "title",
-      "version": 1,
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "98",
-      "content-type": "application/json",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "PUT",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path addReviewers sends the reviewer name as a reviewer 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-  Object {
-    "body": Object {
-      "reviewers": Array [
-        Object {
-          "user": Object {
-            "name": "userName2",
-          },
-        },
-        Object {
-          "user": Object {
-            "name": "name",
-          },
-        },
-      ],
-      "title": "title",
-      "version": 1,
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "98",
-      "content-type": "application/json",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "PUT",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path addReviewers throws 1`] = `"Response code 405 (Method Not Allowed)"`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path addReviewers throws 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-  Object {
-    "body": Object {
-      "reviewers": Array [
-        Object {
-          "user": Object {
-            "name": "userName2",
-          },
-        },
-        Object {
-          "user": Object {
-            "name": "name",
-          },
-        },
-      ],
-      "title": "title",
-      "version": 1,
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "98",
-      "content-type": "application/json",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "PUT",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path addReviewers throws not-found 1 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path addReviewers throws not-found 2 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/4",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path addReviewers throws not-found 3 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-  Object {
-    "body": Object {
-      "reviewers": Array [
-        Object {
-          "user": Object {
-            "name": "userName2",
-          },
-        },
-        Object {
-          "user": Object {
-            "name": "name",
-          },
-        },
-      ],
-      "title": "title",
-      "version": 1,
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "98",
-      "content-type": "application/json",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "PUT",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path addReviewers throws on invalid reviewers 1`] = `"Response code 409 (Conflict)"`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path addReviewers throws on invalid reviewers 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-  Object {
-    "body": Object {
-      "reviewers": Array [
-        Object {
-          "user": Object {
-            "name": "userName2",
-          },
-        },
-        Object {
-          "user": Object {
-            "name": "name",
-          },
-        },
-      ],
-      "title": "title",
-      "version": 1,
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "98",
-      "content-type": "application/json",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "PUT",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path addReviewers throws repository-changed 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-  Object {
-    "body": Object {
-      "reviewers": Array [
-        Object {
-          "user": Object {
-            "name": "userName2",
-          },
-        },
-        Object {
-          "user": Object {
-            "name": "name",
-          },
-        },
-      ],
-      "title": "title",
-      "version": 1,
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "98",
-      "content-type": "application/json",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "PUT",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path createPr() posts PR 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/default-reviewers/1.0/projects/SOME/repos/repo/reviewers?sourceRefId=refs/heads/branch&targetRefId=refs/heads/master&sourceRepoId=5&targetRepoId=5",
-  },
-  Object {
-    "body": Object {
-      "description": "body",
-      "fromRef": Object {
-        "id": "refs/heads/branch",
-      },
-      "reviewers": Array [
-        Object {
-          "user": Object {
-            "name": "jcitizen",
-          },
-        },
-      ],
-      "title": "title",
-      "toRef": Object {
-        "id": "refs/heads/master",
-      },
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "153",
-      "content-type": "application/json",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "POST",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path createPr() posts PR default branch 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/default-reviewers/1.0/projects/SOME/repos/repo/reviewers?sourceRefId=refs/heads/branch&targetRefId=refs/heads/master&sourceRepoId=5&targetRepoId=5",
-  },
-  Object {
-    "body": Object {
-      "description": "body",
-      "fromRef": Object {
-        "id": "refs/heads/branch",
-      },
-      "reviewers": Array [
-        Object {
-          "user": Object {
-            "name": "jcitizen",
-          },
-        },
-      ],
-      "title": "title",
-      "toRef": Object {
-        "id": "refs/heads/master",
-      },
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "153",
-      "content-type": "application/json",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "POST",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path deleteLAbel() does not throw 1`] = `undefined`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path ensureComment() add comment if not found 1 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/activities?limit=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/activities?limit=100&start=1",
-  },
-  Object {
-    "body": Object {
-      "text": "### topic
-
-content",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "31",
-      "content-type": "application/json",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "POST",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/comments",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path ensureComment() add comment if not found 2 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/activities?limit=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/activities?limit=100&start=1",
-  },
-  Object {
-    "body": Object {
-      "text": "content",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "18",
-      "content-type": "application/json",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "POST",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/comments",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path ensureComment() add updates comment if necessary 1 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/activities?limit=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/activities?limit=100&start=1",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/comments/21",
-  },
-  Object {
-    "body": Object {
-      "text": "### some-subject
-
-some
-content",
-      "version": 1,
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "56",
-      "content-type": "application/json",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "PUT",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/comments/21",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path ensureComment() add updates comment if necessary 2 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/activities?limit=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/activities?limit=100&start=1",
-  },
-  Object {
-    "body": Object {
-      "text": "some
-content",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "24",
-      "content-type": "application/json",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "POST",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/comments",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path ensureComment() does not throw 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/undefined/repos/undefined/pull-requests/3/activities?limit=100",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path ensureComment() skips comment 1 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/activities?limit=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/activities?limit=100&start=1",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path ensureComment() skips comment 2 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/activities?limit=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/activities?limit=100&start=1",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path ensureCommentRemoval() deletes comment by content if found 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/activities?limit=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/activities?limit=100&start=1",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/comments/22",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "DELETE",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/comments/22?version=1",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path ensureCommentRemoval() deletes comment by topic if found 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/activities?limit=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/activities?limit=100&start=1",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/comments/21",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "DELETE",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/comments/21?version=1",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path ensureCommentRemoval() deletes nothing 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/activities?limit=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/activities?limit=100&start=1",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path ensureCommentRemoval() does not throw 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/undefined/repos/undefined/pull-requests/5/activities?limit=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/undefined/repos/undefined/pull-requests/5/activities?limit=100&start=1",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path findPr() has no pr 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests?state=ALL&role.1=AUTHOR&username.1=abc&limit=100",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path findPr() has pr 1`] = `
-Object {
-  "body": "* Line 1
-* Line 2",
-  "createdAt": 1547853840016,
-  "number": 5,
-  "sourceBranch": "userName1/pullRequest5",
-  "state": "open",
-  "targetBranch": "master",
-  "title": "title",
-  "version": 1,
-}
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path findPr() has pr 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests?state=ALL&role.1=AUTHOR&username.1=abc&limit=100",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path getBranchPr() has no pr 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests?state=ALL&role.1=AUTHOR&username.1=abc&limit=100",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path getBranchPr() has pr 1`] = `
-Object {
-  "body": "* Line 1
-* Line 2",
-  "createdAt": 1547853840016,
-  "displayNumber": "Pull Request #5",
-  "hasReviewers": true,
-  "number": 5,
-  "reviewers": Array [
-    "userName2",
-  ],
-  "sourceBranch": "userName1/pullRequest5",
-  "state": "open",
-  "targetBranch": "master",
-  "title": "title",
-  "version": 1,
-}
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path getBranchPr() has pr 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests?state=ALL&role.1=AUTHOR&username.1=abc&limit=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path getBranchStatus() should be failed 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/build-status/1.0/commits/stats/0d9c7726c3d628b7e28af234595cfd20febdbf8e",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/build-status/1.0/commits/stats/0d9c7726c3d628b7e28af234595cfd20febdbf8e",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path getBranchStatus() should be pending 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/build-status/1.0/commits/stats/0d9c7726c3d628b7e28af234595cfd20febdbf8e",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/build-status/1.0/commits/stats/0d9c7726c3d628b7e28af234595cfd20febdbf8e",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path getBranchStatus() should be success 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/build-status/1.0/commits/stats/0d9c7726c3d628b7e28af234595cfd20febdbf8e",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path getBranchStatus() throws repository-changed 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path getBranchStatusCheck() should be failure 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/build-status/1.0/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e?limit=100",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path getBranchStatusCheck() should be null 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/build-status/1.0/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e?limit=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/build-status/1.0/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e?limit=100",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path getBranchStatusCheck() should be pending 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/build-status/1.0/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e?limit=100",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path getBranchStatusCheck() should be success 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/build-status/1.0/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e?limit=100",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path getJsonFile() returns file content 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/browse/file.json?limit=20000",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path getJsonFile() returns file content from branch or tag 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/browse/file.json?limit=20000&at=dev",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path getJsonFile() returns file content from given repo 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/DIFFERENT/repos/repo/browse/file.json?limit=20000",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path getJsonFile() returns file content in json5 format 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/browse/file.json5?limit=20000",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path getJsonFile() throws on errors 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/browse/file.json?limit=20000",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path getJsonFile() throws on long content 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/browse/file.json?limit=20000",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path getJsonFile() throws on malformed JSON 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/browse/file.json?limit=20000",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path getPr() canRebase 1`] = `
-Object {
-  "body": "* Line 1
-* Line 2",
-  "createdAt": 1547853840016,
-  "displayNumber": "Pull Request #5",
-  "hasReviewers": true,
-  "number": 5,
-  "reviewers": Array [
-    "userName2",
-  ],
-  "sourceBranch": "userName1/pullRequest5",
-  "state": "open",
-  "targetBranch": "master",
-  "title": "title",
-  "version": 1,
-}
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path getPr() canRebase 2`] = `
-Object {
-  "body": "* Line 1
-* Line 2",
-  "createdAt": 1547853840016,
-  "displayNumber": "Pull Request #5",
-  "hasReviewers": true,
-  "number": 5,
-  "reviewers": Array [
-    "userName2",
-  ],
-  "sourceBranch": "userName1/pullRequest5",
-  "state": "open",
-  "targetBranch": "master",
-  "title": "title",
-  "version": 1,
-}
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path getPr() canRebase 3`] = `
-Object {
-  "body": "* Line 1
-* Line 2",
-  "createdAt": 1547853840016,
-  "displayNumber": "Pull Request #5",
-  "hasReviewers": true,
-  "number": 5,
-  "reviewers": Array [
-    "userName2",
-  ],
-  "sourceBranch": "userName1/pullRequest5",
-  "state": "open",
-  "targetBranch": "master",
-  "title": "title",
-  "version": 1,
-}
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path getPr() canRebase 4`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/3",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path getPr() gets a PR 1`] = `
-Object {
-  "body": "* Line 1
-* Line 2",
-  "createdAt": 1547853840016,
-  "displayNumber": "Pull Request #5",
-  "hasReviewers": true,
-  "number": 5,
-  "reviewers": Array [
-    "userName2",
-  ],
-  "sourceBranch": "userName1/pullRequest5",
-  "state": "open",
-  "targetBranch": "master",
-  "title": "title",
-  "version": 1,
-}
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path getPr() gets a PR 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path getPr() gets a closed PR 1`] = `
-Object {
-  "body": undefined,
-  "createdAt": undefined,
-  "displayNumber": "Pull Request #undefined",
-  "hasReviewers": false,
-  "number": undefined,
-  "reviewers": Array [],
-  "sourceBranch": undefined,
-  "state": "merged",
-  "targetBranch": undefined,
-  "title": undefined,
-  "version": 0,
-}
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path getPr() gets a closed PR 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path getPr() returns null for no prNo 1`] = `Array []`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path getPrList() has pr 1`] = `
-Array [
-  Object {
-    "body": "* Line 1
-* Line 2",
-    "createdAt": 1547853840016,
-    "number": 5,
-    "sourceBranch": "userName1/pullRequest5",
-    "state": "open",
-    "targetBranch": "master",
-    "title": "title",
-    "version": 1,
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path getPrList() has pr 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests?state=ALL&role.1=AUTHOR&username.1=abc&limit=100",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path getRepos() returns repos 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/repos?permission=REPO_WRITE&state=AVAILABLE&limit=100",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path initPlatform() should init 1`] = `
-Object {
-  "endpoint": "https://stash.renovatebot.com/",
-}
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path initRepo() generates URL if API does not contain clone links 1`] = `
-Object {
-  "defaultBranch": "master",
-  "isFork": false,
-}
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path initRepo() generates URL if API does not contain clone links 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path initRepo() throws REPOSITORY_EMPTY if there is no default branch 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path initRepo() uses http url from API with injected auth if http url in API response 1`] = `
-Object {
-  "defaultBranch": "master",
-  "isFork": false,
-}
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path initRepo() uses http url from API with injected auth if http url in API response 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path initRepo() uses ssh url from API if http not in API response 1`] = `
-Object {
-  "defaultBranch": "master",
-  "isFork": false,
-}
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path initRepo() uses ssh url from API if http not in API response 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path initRepo() works 1`] = `
-Object {
-  "defaultBranch": "master",
-  "isFork": false,
-}
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path initRepo() works 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path massageMarkdown() returns diff files 1`] = `"**foo**bartext"`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path massageMarkdown() sanitizes HTML comments in the body 1`] = `
-"---
-
-- [ ] If you want to rebase/retry this PR, click this checkbox
-- [ ] <a href=\\"/some/link\\">Update renovate/renovate to 16.1.2</a>
-
----
-
-Empty comment.
-
-Followed by some information.
-"
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path mergePr() posts Merge 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "POST",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/merge?version=1",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path mergePr() throws conflicted 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "POST",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/merge?version=1",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path mergePr() throws not-found 1 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path mergePr() throws not-found 2 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/4",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path mergePr() throws not-found 3 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "POST",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/merge?version=1",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path mergePr() unknown error 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "POST",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/merge?version=1",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path repoForceRebase() return false if ff strategy is enabled 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/undefined/repos/undefined/settings/pull-requests",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path repoForceRebase() return false if no-ff strategy is enabled 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/undefined/repos/undefined/settings/pull-requests",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path repoForceRebase() return false if rebase-no-ff strategy is enabled 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/undefined/repos/undefined/settings/pull-requests",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path repoForceRebase() return false if squash strategy is enabled 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/undefined/repos/undefined/settings/pull-requests",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path repoForceRebase() return true if ff-only strategy is enabled 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/undefined/repos/undefined/settings/pull-requests",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path repoForceRebase() return true if rebase-ff-only strategy is enabled 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/undefined/repos/undefined/settings/pull-requests",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path repoForceRebase() return true if squash-ff-only strategy is enabled 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/undefined/repos/undefined/settings/pull-requests",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path repoForceRebase() returns false on missing defaultStrategy 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/undefined/repos/undefined/settings/pull-requests",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path repoForceRebase() returns false on missing mergeConfig 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/undefined/repos/undefined/settings/pull-requests",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path setBranchStatus() should be success 1 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/build-status/1.0/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e?limit=100",
-  },
-  Object {
-    "body": Object {
-      "description": null,
-      "key": "context-2",
-      "state": "SUCCESSFUL",
-      "url": "https://renovatebot.com",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "91",
-      "content-type": "application/json",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "POST",
-    "url": "https://stash.renovatebot.com/rest/build-status/1.0/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/build-status/1.0/commits/stats/0d9c7726c3d628b7e28af234595cfd20febdbf8e",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/build-status/1.0/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e?limit=100",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path setBranchStatus() should be success 2 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/build-status/1.0/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e?limit=100",
-  },
-  Object {
-    "body": Object {
-      "description": null,
-      "key": "context-2",
-      "state": "FAILED",
-      "url": "https://renovatebot.com",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "87",
-      "content-type": "application/json",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "POST",
-    "url": "https://stash.renovatebot.com/rest/build-status/1.0/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/build-status/1.0/commits/stats/0d9c7726c3d628b7e28af234595cfd20febdbf8e",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/build-status/1.0/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e?limit=100",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path setBranchStatus() should be success 3 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/build-status/1.0/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e?limit=100",
-  },
-  Object {
-    "body": Object {
-      "description": null,
-      "key": "context-2",
-      "state": "FAILED",
-      "url": "https://renovatebot.com",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "87",
-      "content-type": "application/json",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "POST",
-    "url": "https://stash.renovatebot.com/rest/build-status/1.0/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/build-status/1.0/commits/stats/0d9c7726c3d628b7e28af234595cfd20febdbf8e",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/build-status/1.0/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e?limit=100",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path setBranchStatus() should be success 4 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/build-status/1.0/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e?limit=100",
-  },
-  Object {
-    "body": Object {
-      "description": null,
-      "key": "context-2",
-      "state": "INPROGRESS",
-      "url": "https://renovatebot.com",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "91",
-      "content-type": "application/json",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "POST",
-    "url": "https://stash.renovatebot.com/rest/build-status/1.0/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/build-status/1.0/commits/stats/0d9c7726c3d628b7e28af234595cfd20febdbf8e",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/build-status/1.0/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e?limit=100",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path setBranchStatus() should be success 5 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/build-status/1.0/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e?limit=100",
-  },
-  Object {
-    "body": Object {
-      "description": null,
-      "key": "context-2",
-      "state": "SUCCESSFUL",
-      "url": "https://renovatebot.com",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "91",
-      "content-type": "application/json",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "POST",
-    "url": "https://stash.renovatebot.com/rest/build-status/1.0/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path setBranchStatus() should be success 6 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/build-status/1.0/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e?limit=100",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path updatePr() closes PR 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-  Object {
-    "body": Object {
-      "description": "body",
-      "reviewers": Array [
-        Object {
-          "user": Object {
-            "name": "userName2",
-          },
-        },
-      ],
-      "title": "title",
-      "version": 1,
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "94",
-      "content-type": "application/json",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "PUT",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "POST",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/decline?version=42",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path updatePr() handles invalid users gracefully by retrying without invalid reviewers 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-  Object {
-    "body": Object {
-      "description": "body",
-      "reviewers": Array [
-        Object {
-          "user": Object {
-            "name": "userName2",
-          },
-        },
-      ],
-      "title": "title",
-      "version": 1,
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "94",
-      "content-type": "application/json",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "PUT",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-  Object {
-    "body": Object {
-      "description": "body",
-      "reviewers": Array [],
-      "title": "title",
-      "version": 1,
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "65",
-      "content-type": "application/json",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "PUT",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path updatePr() puts PR 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-  Object {
-    "body": Object {
-      "description": "body",
-      "reviewers": Array [
-        Object {
-          "user": Object {
-            "name": "userName2",
-          },
-        },
-      ],
-      "title": "title",
-      "version": 1,
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "94",
-      "content-type": "application/json",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "PUT",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path updatePr() re-opens PR 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-  Object {
-    "body": Object {
-      "description": "body",
-      "reviewers": Array [
-        Object {
-          "user": Object {
-            "name": "userName2",
-          },
-        },
-      ],
-      "title": "title",
-      "version": 1,
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "94",
-      "content-type": "application/json",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "PUT",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "POST",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/reopen?version=42",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path updatePr() throws 1`] = `"Response code 405 (Method Not Allowed)"`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path updatePr() throws 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-  Object {
-    "body": Object {
-      "description": "body",
-      "reviewers": Array [
-        Object {
-          "user": Object {
-            "name": "userName2",
-          },
-        },
-      ],
-      "title": "title",
-      "version": 1,
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "94",
-      "content-type": "application/json",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "PUT",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path updatePr() throws not-found 1 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path updatePr() throws not-found 2 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/4",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path updatePr() throws not-found 3 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-  Object {
-    "body": Object {
-      "description": "body",
-      "reviewers": Array [
-        Object {
-          "user": Object {
-            "name": "userName2",
-          },
-        },
-      ],
-      "title": "title",
-      "version": 1,
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "94",
-      "content-type": "application/json",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "PUT",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with no path updatePr() throws repository-changed 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-  Object {
-    "body": Object {
-      "description": "body",
-      "reviewers": Array [
-        Object {
-          "user": Object {
-            "name": "userName2",
-          },
-        },
-      ],
-      "title": "title",
-      "version": 1,
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "94",
-      "content-type": "application/json",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "PUT",
-    "url": "https://stash.renovatebot.com/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path addAssignees() does not throw 1`] = `undefined`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path addReviewers does not throw 1`] = `undefined`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path addReviewers does not throw 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-  Object {
-    "body": Object {
-      "reviewers": Array [
-        Object {
-          "user": Object {
-            "name": "userName2",
-          },
-        },
-        Object {
-          "user": Object {
-            "name": "name",
-          },
-        },
-      ],
-      "title": "title",
-      "version": 1,
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "98",
-      "content-type": "application/json",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "PUT",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path addReviewers sends the reviewer name as a reviewer 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-  Object {
-    "body": Object {
-      "reviewers": Array [
-        Object {
-          "user": Object {
-            "name": "userName2",
-          },
-        },
-        Object {
-          "user": Object {
-            "name": "name",
-          },
-        },
-      ],
-      "title": "title",
-      "version": 1,
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "98",
-      "content-type": "application/json",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "PUT",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path addReviewers throws 1`] = `"Response code 405 (Method Not Allowed)"`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path addReviewers throws 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-  Object {
-    "body": Object {
-      "reviewers": Array [
-        Object {
-          "user": Object {
-            "name": "userName2",
-          },
-        },
-        Object {
-          "user": Object {
-            "name": "name",
-          },
-        },
-      ],
-      "title": "title",
-      "version": 1,
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "98",
-      "content-type": "application/json",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "PUT",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path addReviewers throws not-found 1 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path addReviewers throws not-found 2 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/4",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path addReviewers throws not-found 3 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-  Object {
-    "body": Object {
-      "reviewers": Array [
-        Object {
-          "user": Object {
-            "name": "userName2",
-          },
-        },
-        Object {
-          "user": Object {
-            "name": "name",
-          },
-        },
-      ],
-      "title": "title",
-      "version": 1,
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "98",
-      "content-type": "application/json",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "PUT",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path addReviewers throws on invalid reviewers 1`] = `"Response code 409 (Conflict)"`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path addReviewers throws on invalid reviewers 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-  Object {
-    "body": Object {
-      "reviewers": Array [
-        Object {
-          "user": Object {
-            "name": "userName2",
-          },
-        },
-        Object {
-          "user": Object {
-            "name": "name",
-          },
-        },
-      ],
-      "title": "title",
-      "version": 1,
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "98",
-      "content-type": "application/json",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "PUT",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path addReviewers throws repository-changed 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-  Object {
-    "body": Object {
-      "reviewers": Array [
-        Object {
-          "user": Object {
-            "name": "userName2",
-          },
-        },
-        Object {
-          "user": Object {
-            "name": "name",
-          },
-        },
-      ],
-      "title": "title",
-      "version": 1,
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "98",
-      "content-type": "application/json",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "PUT",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path createPr() posts PR 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/default-reviewers/1.0/projects/SOME/repos/repo/reviewers?sourceRefId=refs/heads/branch&targetRefId=refs/heads/master&sourceRepoId=5&targetRepoId=5",
-  },
-  Object {
-    "body": Object {
-      "description": "body",
-      "fromRef": Object {
-        "id": "refs/heads/branch",
-      },
-      "reviewers": Array [
-        Object {
-          "user": Object {
-            "name": "jcitizen",
-          },
-        },
-      ],
-      "title": "title",
-      "toRef": Object {
-        "id": "refs/heads/master",
-      },
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "153",
-      "content-type": "application/json",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "POST",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path createPr() posts PR default branch 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/default-reviewers/1.0/projects/SOME/repos/repo/reviewers?sourceRefId=refs/heads/branch&targetRefId=refs/heads/master&sourceRepoId=5&targetRepoId=5",
-  },
-  Object {
-    "body": Object {
-      "description": "body",
-      "fromRef": Object {
-        "id": "refs/heads/branch",
-      },
-      "reviewers": Array [
-        Object {
-          "user": Object {
-            "name": "jcitizen",
-          },
-        },
-      ],
-      "title": "title",
-      "toRef": Object {
-        "id": "refs/heads/master",
-      },
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "153",
-      "content-type": "application/json",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "POST",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path deleteLAbel() does not throw 1`] = `undefined`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path ensureComment() add comment if not found 1 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/activities?limit=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/activities?limit=100&start=1",
-  },
-  Object {
-    "body": Object {
-      "text": "### topic
-
-content",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "31",
-      "content-type": "application/json",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "POST",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/comments",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path ensureComment() add comment if not found 2 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/activities?limit=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/activities?limit=100&start=1",
-  },
-  Object {
-    "body": Object {
-      "text": "content",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "18",
-      "content-type": "application/json",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "POST",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/comments",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path ensureComment() add updates comment if necessary 1 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/activities?limit=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/activities?limit=100&start=1",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/comments/21",
-  },
-  Object {
-    "body": Object {
-      "text": "### some-subject
-
-some
-content",
-      "version": 1,
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "56",
-      "content-type": "application/json",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "PUT",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/comments/21",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path ensureComment() add updates comment if necessary 2 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/activities?limit=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/activities?limit=100&start=1",
-  },
-  Object {
-    "body": Object {
-      "text": "some
-content",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "24",
-      "content-type": "application/json",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "POST",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/comments",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path ensureComment() does not throw 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/undefined/repos/undefined/pull-requests/3/activities?limit=100",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path ensureComment() skips comment 1 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/activities?limit=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/activities?limit=100&start=1",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path ensureComment() skips comment 2 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/activities?limit=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/activities?limit=100&start=1",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path ensureCommentRemoval() deletes comment by content if found 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/activities?limit=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/activities?limit=100&start=1",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/comments/22",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "DELETE",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/comments/22?version=1",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path ensureCommentRemoval() deletes comment by topic if found 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/activities?limit=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/activities?limit=100&start=1",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/comments/21",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "DELETE",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/comments/21?version=1",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path ensureCommentRemoval() deletes nothing 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/activities?limit=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/activities?limit=100&start=1",
-  },
-]
-`;
+exports[`modules/platform/bitbucket-server/index endpoint with no path addReviewers throws 1`] = `"Response code 405 (Method Not Allowed)"`;
 
-exports[`modules/platform/bitbucket-server/index endpoint with path ensureCommentRemoval() does not throw 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/undefined/repos/undefined/pull-requests/5/activities?limit=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/undefined/repos/undefined/pull-requests/5/activities?limit=100&start=1",
-  },
-]
-`;
+exports[`modules/platform/bitbucket-server/index endpoint with no path addReviewers throws on invalid reviewers 1`] = `"Response code 409 (Conflict)"`;
 
-exports[`modules/platform/bitbucket-server/index endpoint with path findPr() has no pr 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests?state=ALL&role.1=AUTHOR&username.1=abc&limit=100",
-  },
-]
-`;
+exports[`modules/platform/bitbucket-server/index endpoint with no path deleteLAbel() does not throw 1`] = `undefined`;
 
-exports[`modules/platform/bitbucket-server/index endpoint with path findPr() has pr 1`] = `
+exports[`modules/platform/bitbucket-server/index endpoint with no path findPr() has pr 1`] = `
 Object {
   "body": "* Line 1
 * Line 2",
@@ -5599,89 +24,7 @@ Object {
 }
 `;
 
-exports[`modules/platform/bitbucket-server/index endpoint with path findPr() has pr 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests?state=ALL&role.1=AUTHOR&username.1=abc&limit=100",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path getBranchPr() has no pr 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests?state=ALL&role.1=AUTHOR&username.1=abc&limit=100",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path getBranchPr() has pr 1`] = `
+exports[`modules/platform/bitbucket-server/index endpoint with no path getBranchPr() has pr 1`] = `
 Object {
   "body": "* Line 1
 * Line 2",
@@ -5700,699 +43,7 @@ Object {
 }
 `;
 
-exports[`modules/platform/bitbucket-server/index endpoint with path getBranchPr() has pr 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests?state=ALL&role.1=AUTHOR&username.1=abc&limit=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path getBranchStatus() should be failed 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/build-status/1.0/commits/stats/0d9c7726c3d628b7e28af234595cfd20febdbf8e",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/build-status/1.0/commits/stats/0d9c7726c3d628b7e28af234595cfd20febdbf8e",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path getBranchStatus() should be pending 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/build-status/1.0/commits/stats/0d9c7726c3d628b7e28af234595cfd20febdbf8e",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/build-status/1.0/commits/stats/0d9c7726c3d628b7e28af234595cfd20febdbf8e",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path getBranchStatus() should be success 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/build-status/1.0/commits/stats/0d9c7726c3d628b7e28af234595cfd20febdbf8e",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path getBranchStatus() throws repository-changed 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path getBranchStatusCheck() should be failure 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/build-status/1.0/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e?limit=100",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path getBranchStatusCheck() should be null 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/build-status/1.0/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e?limit=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/build-status/1.0/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e?limit=100",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path getBranchStatusCheck() should be pending 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/build-status/1.0/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e?limit=100",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path getBranchStatusCheck() should be success 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/build-status/1.0/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e?limit=100",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path getJsonFile() returns file content 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/browse/file.json?limit=20000",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path getJsonFile() returns file content from branch or tag 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/browse/file.json?limit=20000&at=dev",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path getJsonFile() returns file content from given repo 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/DIFFERENT/repos/repo/browse/file.json?limit=20000",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path getJsonFile() returns file content in json5 format 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/browse/file.json5?limit=20000",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path getJsonFile() throws on errors 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/browse/file.json?limit=20000",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path getJsonFile() throws on long content 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/browse/file.json?limit=20000",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path getJsonFile() throws on malformed JSON 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/browse/file.json?limit=20000",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path getPr() canRebase 1`] = `
+exports[`modules/platform/bitbucket-server/index endpoint with no path getPr() canRebase 1`] = `
 Object {
   "body": "* Line 1
 * Line 2",
@@ -6411,7 +62,7 @@ Object {
 }
 `;
 
-exports[`modules/platform/bitbucket-server/index endpoint with path getPr() canRebase 2`] = `
+exports[`modules/platform/bitbucket-server/index endpoint with no path getPr() canRebase 2`] = `
 Object {
   "body": "* Line 1
 * Line 2",
@@ -6430,7 +81,7 @@ Object {
 }
 `;
 
-exports[`modules/platform/bitbucket-server/index endpoint with path getPr() canRebase 3`] = `
+exports[`modules/platform/bitbucket-server/index endpoint with no path getPr() canRebase 3`] = `
 Object {
   "body": "* Line 1
 * Line 2",
@@ -6449,72 +100,7 @@ Object {
 }
 `;
 
-exports[`modules/platform/bitbucket-server/index endpoint with path getPr() canRebase 4`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/3",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path getPr() gets a PR 1`] = `
+exports[`modules/platform/bitbucket-server/index endpoint with no path getPr() gets a PR 1`] = `
 Object {
   "body": "* Line 1
 * Line 2",
@@ -6533,48 +119,7 @@ Object {
 }
 `;
 
-exports[`modules/platform/bitbucket-server/index endpoint with path getPr() gets a PR 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path getPr() gets a closed PR 1`] = `
+exports[`modules/platform/bitbucket-server/index endpoint with no path getPr() gets a closed PR 1`] = `
 Object {
   "body": undefined,
   "createdAt": undefined,
@@ -6586,54 +131,11 @@ Object {
   "state": "merged",
   "targetBranch": undefined,
   "title": undefined,
-  "version": 0,
-}
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path getPr() gets a closed PR 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-]
+  "version": 0,
+}
 `;
 
-exports[`modules/platform/bitbucket-server/index endpoint with path getPr() returns null for no prNo 1`] = `Array []`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path getPrList() has pr 1`] = `
+exports[`modules/platform/bitbucket-server/index endpoint with no path getPrList() has pr 1`] = `
 Array [
   Object {
     "body": "* Line 1
@@ -6649,246 +151,43 @@ Array [
 ]
 `;
 
-exports[`modules/platform/bitbucket-server/index endpoint with path getPrList() has pr 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests?state=ALL&role.1=AUTHOR&username.1=abc&limit=100",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path getRepos() returns repos 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/repos?permission=REPO_WRITE&state=AVAILABLE&limit=100",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path initPlatform() should init 1`] = `
+exports[`modules/platform/bitbucket-server/index endpoint with no path initPlatform() should init 1`] = `
 Object {
   "endpoint": "https://stash.renovatebot.com/",
 }
 `;
 
-exports[`modules/platform/bitbucket-server/index endpoint with path initRepo() generates URL if API does not contain clone links 1`] = `
+exports[`modules/platform/bitbucket-server/index endpoint with no path initRepo() generates URL if API does not contain clone links 1`] = `
 Object {
   "defaultBranch": "master",
   "isFork": false,
 }
 `;
 
-exports[`modules/platform/bitbucket-server/index endpoint with path initRepo() generates URL if API does not contain clone links 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path initRepo() throws REPOSITORY_EMPTY if there is no default branch 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path initRepo() uses http url from API with injected auth if http url in API response 1`] = `
+exports[`modules/platform/bitbucket-server/index endpoint with no path initRepo() uses http url from API with injected auth if http url in API response 1`] = `
 Object {
   "defaultBranch": "master",
   "isFork": false,
 }
 `;
 
-exports[`modules/platform/bitbucket-server/index endpoint with path initRepo() uses http url from API with injected auth if http url in API response 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path initRepo() uses ssh url from API if http not in API response 1`] = `
+exports[`modules/platform/bitbucket-server/index endpoint with no path initRepo() uses ssh url from API if http not in API response 1`] = `
 Object {
   "defaultBranch": "master",
   "isFork": false,
 }
 `;
 
-exports[`modules/platform/bitbucket-server/index endpoint with path initRepo() uses ssh url from API if http not in API response 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path initRepo() works 1`] = `
+exports[`modules/platform/bitbucket-server/index endpoint with no path initRepo() works 1`] = `
 Object {
   "defaultBranch": "master",
   "isFork": false,
 }
 `;
 
-exports[`modules/platform/bitbucket-server/index endpoint with path initRepo() works 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path massageMarkdown() returns diff files 1`] = `"**foo**bartext"`;
+exports[`modules/platform/bitbucket-server/index endpoint with no path massageMarkdown() returns diff files 1`] = `"**foo**bartext"`;
 
-exports[`modules/platform/bitbucket-server/index endpoint with path massageMarkdown() sanitizes HTML comments in the body 1`] = `
+exports[`modules/platform/bitbucket-server/index endpoint with no path massageMarkdown() sanitizes HTML comments in the body 1`] = `
 "---
 
 - [ ] If you want to rebase/retry this PR, click this checkbox
@@ -6902,1476 +201,207 @@ Followed by some information.
 "
 `;
 
-exports[`modules/platform/bitbucket-server/index endpoint with path mergePr() posts Merge 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "POST",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/merge?version=1",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path mergePr() throws conflicted 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "POST",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/merge?version=1",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path mergePr() throws not-found 1 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path mergePr() throws not-found 2 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/4",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path mergePr() throws not-found 3 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "POST",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/merge?version=1",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path mergePr() unknown error 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "POST",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/merge?version=1",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket-server/index endpoint with path repoForceRebase() return false if ff strategy is enabled 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/undefined/repos/undefined/settings/pull-requests",
-  },
-]
-`;
+exports[`modules/platform/bitbucket-server/index endpoint with no path updatePr() throws 1`] = `"Response code 405 (Method Not Allowed)"`;
 
-exports[`modules/platform/bitbucket-server/index endpoint with path repoForceRebase() return false if no-ff strategy is enabled 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/undefined/repos/undefined/settings/pull-requests",
-  },
-]
-`;
+exports[`modules/platform/bitbucket-server/index endpoint with path addAssignees() does not throw 1`] = `undefined`;
 
-exports[`modules/platform/bitbucket-server/index endpoint with path repoForceRebase() return false if rebase-no-ff strategy is enabled 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/undefined/repos/undefined/settings/pull-requests",
-  },
-]
-`;
+exports[`modules/platform/bitbucket-server/index endpoint with path addReviewers does not throw 1`] = `undefined`;
 
-exports[`modules/platform/bitbucket-server/index endpoint with path repoForceRebase() return false if squash strategy is enabled 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/undefined/repos/undefined/settings/pull-requests",
-  },
-]
-`;
+exports[`modules/platform/bitbucket-server/index endpoint with path addReviewers throws 1`] = `"Response code 405 (Method Not Allowed)"`;
 
-exports[`modules/platform/bitbucket-server/index endpoint with path repoForceRebase() return true if ff-only strategy is enabled 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/undefined/repos/undefined/settings/pull-requests",
-  },
-]
-`;
+exports[`modules/platform/bitbucket-server/index endpoint with path addReviewers throws on invalid reviewers 1`] = `"Response code 409 (Conflict)"`;
 
-exports[`modules/platform/bitbucket-server/index endpoint with path repoForceRebase() return true if rebase-ff-only strategy is enabled 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/undefined/repos/undefined/settings/pull-requests",
-  },
-]
-`;
+exports[`modules/platform/bitbucket-server/index endpoint with path deleteLAbel() does not throw 1`] = `undefined`;
 
-exports[`modules/platform/bitbucket-server/index endpoint with path repoForceRebase() return true if squash-ff-only strategy is enabled 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/undefined/repos/undefined/settings/pull-requests",
-  },
-]
+exports[`modules/platform/bitbucket-server/index endpoint with path findPr() has pr 1`] = `
+Object {
+  "body": "* Line 1
+* Line 2",
+  "createdAt": 1547853840016,
+  "number": 5,
+  "sourceBranch": "userName1/pullRequest5",
+  "state": "open",
+  "targetBranch": "master",
+  "title": "title",
+  "version": 1,
+}
 `;
 
-exports[`modules/platform/bitbucket-server/index endpoint with path repoForceRebase() returns false on missing defaultStrategy 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/undefined/repos/undefined/settings/pull-requests",
-  },
-]
+exports[`modules/platform/bitbucket-server/index endpoint with path getBranchPr() has pr 1`] = `
+Object {
+  "body": "* Line 1
+* Line 2",
+  "createdAt": 1547853840016,
+  "displayNumber": "Pull Request #5",
+  "hasReviewers": true,
+  "number": 5,
+  "reviewers": Array [
+    "userName2",
+  ],
+  "sourceBranch": "userName1/pullRequest5",
+  "state": "open",
+  "targetBranch": "master",
+  "title": "title",
+  "version": 1,
+}
 `;
 
-exports[`modules/platform/bitbucket-server/index endpoint with path repoForceRebase() returns false on missing mergeConfig 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/undefined/repos/undefined/settings/pull-requests",
-  },
-]
+exports[`modules/platform/bitbucket-server/index endpoint with path getPr() canRebase 1`] = `
+Object {
+  "body": "* Line 1
+* Line 2",
+  "createdAt": 1547853840016,
+  "displayNumber": "Pull Request #5",
+  "hasReviewers": true,
+  "number": 5,
+  "reviewers": Array [
+    "userName2",
+  ],
+  "sourceBranch": "userName1/pullRequest5",
+  "state": "open",
+  "targetBranch": "master",
+  "title": "title",
+  "version": 1,
+}
 `;
 
-exports[`modules/platform/bitbucket-server/index endpoint with path setBranchStatus() should be success 1 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/build-status/1.0/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e?limit=100",
-  },
-  Object {
-    "body": Object {
-      "description": null,
-      "key": "context-2",
-      "state": "SUCCESSFUL",
-      "url": "https://renovatebot.com",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "91",
-      "content-type": "application/json",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "POST",
-    "url": "https://stash.renovatebot.com/vcs/rest/build-status/1.0/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/build-status/1.0/commits/stats/0d9c7726c3d628b7e28af234595cfd20febdbf8e",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/build-status/1.0/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e?limit=100",
-  },
-]
+exports[`modules/platform/bitbucket-server/index endpoint with path getPr() canRebase 2`] = `
+Object {
+  "body": "* Line 1
+* Line 2",
+  "createdAt": 1547853840016,
+  "displayNumber": "Pull Request #5",
+  "hasReviewers": true,
+  "number": 5,
+  "reviewers": Array [
+    "userName2",
+  ],
+  "sourceBranch": "userName1/pullRequest5",
+  "state": "open",
+  "targetBranch": "master",
+  "title": "title",
+  "version": 1,
+}
 `;
 
-exports[`modules/platform/bitbucket-server/index endpoint with path setBranchStatus() should be success 2 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/build-status/1.0/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e?limit=100",
-  },
-  Object {
-    "body": Object {
-      "description": null,
-      "key": "context-2",
-      "state": "FAILED",
-      "url": "https://renovatebot.com",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "87",
-      "content-type": "application/json",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "POST",
-    "url": "https://stash.renovatebot.com/vcs/rest/build-status/1.0/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/build-status/1.0/commits/stats/0d9c7726c3d628b7e28af234595cfd20febdbf8e",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/build-status/1.0/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e?limit=100",
-  },
-]
+exports[`modules/platform/bitbucket-server/index endpoint with path getPr() canRebase 3`] = `
+Object {
+  "body": "* Line 1
+* Line 2",
+  "createdAt": 1547853840016,
+  "displayNumber": "Pull Request #5",
+  "hasReviewers": true,
+  "number": 5,
+  "reviewers": Array [
+    "userName2",
+  ],
+  "sourceBranch": "userName1/pullRequest5",
+  "state": "open",
+  "targetBranch": "master",
+  "title": "title",
+  "version": 1,
+}
 `;
 
-exports[`modules/platform/bitbucket-server/index endpoint with path setBranchStatus() should be success 3 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/build-status/1.0/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e?limit=100",
-  },
-  Object {
-    "body": Object {
-      "description": null,
-      "key": "context-2",
-      "state": "FAILED",
-      "url": "https://renovatebot.com",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "87",
-      "content-type": "application/json",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "POST",
-    "url": "https://stash.renovatebot.com/vcs/rest/build-status/1.0/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/build-status/1.0/commits/stats/0d9c7726c3d628b7e28af234595cfd20febdbf8e",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/build-status/1.0/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e?limit=100",
-  },
-]
+exports[`modules/platform/bitbucket-server/index endpoint with path getPr() gets a PR 1`] = `
+Object {
+  "body": "* Line 1
+* Line 2",
+  "createdAt": 1547853840016,
+  "displayNumber": "Pull Request #5",
+  "hasReviewers": true,
+  "number": 5,
+  "reviewers": Array [
+    "userName2",
+  ],
+  "sourceBranch": "userName1/pullRequest5",
+  "state": "open",
+  "targetBranch": "master",
+  "title": "title",
+  "version": 1,
+}
 `;
 
-exports[`modules/platform/bitbucket-server/index endpoint with path setBranchStatus() should be success 4 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/build-status/1.0/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e?limit=100",
-  },
-  Object {
-    "body": Object {
-      "description": null,
-      "key": "context-2",
-      "state": "INPROGRESS",
-      "url": "https://renovatebot.com",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "91",
-      "content-type": "application/json",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "POST",
-    "url": "https://stash.renovatebot.com/vcs/rest/build-status/1.0/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/build-status/1.0/commits/stats/0d9c7726c3d628b7e28af234595cfd20febdbf8e",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/build-status/1.0/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e?limit=100",
-  },
-]
+exports[`modules/platform/bitbucket-server/index endpoint with path getPr() gets a closed PR 1`] = `
+Object {
+  "body": undefined,
+  "createdAt": undefined,
+  "displayNumber": "Pull Request #undefined",
+  "hasReviewers": false,
+  "number": undefined,
+  "reviewers": Array [],
+  "sourceBranch": undefined,
+  "state": "merged",
+  "targetBranch": undefined,
+  "title": undefined,
+  "version": 0,
+}
 `;
 
-exports[`modules/platform/bitbucket-server/index endpoint with path setBranchStatus() should be success 5 1`] = `
+exports[`modules/platform/bitbucket-server/index endpoint with path getPrList() has pr 1`] = `
 Array [
   Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/build-status/1.0/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e?limit=100",
-  },
-  Object {
-    "body": Object {
-      "description": null,
-      "key": "context-2",
-      "state": "SUCCESSFUL",
-      "url": "https://renovatebot.com",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "91",
-      "content-type": "application/json",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "POST",
-    "url": "https://stash.renovatebot.com/vcs/rest/build-status/1.0/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e",
+    "body": "* Line 1
+* Line 2",
+    "createdAt": 1547853840016,
+    "number": 5,
+    "sourceBranch": "userName1/pullRequest5",
+    "state": "open",
+    "targetBranch": "master",
+    "title": "title",
+    "version": 1,
   },
 ]
 `;
 
-exports[`modules/platform/bitbucket-server/index endpoint with path setBranchStatus() should be success 6 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/build-status/1.0/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e?limit=100",
-  },
-]
+exports[`modules/platform/bitbucket-server/index endpoint with path initPlatform() should init 1`] = `
+Object {
+  "endpoint": "https://stash.renovatebot.com/",
+}
 `;
 
-exports[`modules/platform/bitbucket-server/index endpoint with path updatePr() closes PR 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-  Object {
-    "body": Object {
-      "description": "body",
-      "reviewers": Array [
-        Object {
-          "user": Object {
-            "name": "userName2",
-          },
-        },
-      ],
-      "title": "title",
-      "version": 1,
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "94",
-      "content-type": "application/json",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "PUT",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "POST",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/decline?version=42",
-  },
-]
+exports[`modules/platform/bitbucket-server/index endpoint with path initRepo() generates URL if API does not contain clone links 1`] = `
+Object {
+  "defaultBranch": "master",
+  "isFork": false,
+}
 `;
 
-exports[`modules/platform/bitbucket-server/index endpoint with path updatePr() handles invalid users gracefully by retrying without invalid reviewers 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-  Object {
-    "body": Object {
-      "description": "body",
-      "reviewers": Array [
-        Object {
-          "user": Object {
-            "name": "userName2",
-          },
-        },
-      ],
-      "title": "title",
-      "version": 1,
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "94",
-      "content-type": "application/json",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "PUT",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-  Object {
-    "body": Object {
-      "description": "body",
-      "reviewers": Array [],
-      "title": "title",
-      "version": 1,
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "65",
-      "content-type": "application/json",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "PUT",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-]
+exports[`modules/platform/bitbucket-server/index endpoint with path initRepo() uses http url from API with injected auth if http url in API response 1`] = `
+Object {
+  "defaultBranch": "master",
+  "isFork": false,
+}
 `;
 
-exports[`modules/platform/bitbucket-server/index endpoint with path updatePr() puts PR 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-  Object {
-    "body": Object {
-      "description": "body",
-      "reviewers": Array [
-        Object {
-          "user": Object {
-            "name": "userName2",
-          },
-        },
-      ],
-      "title": "title",
-      "version": 1,
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "94",
-      "content-type": "application/json",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "PUT",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-]
+exports[`modules/platform/bitbucket-server/index endpoint with path initRepo() uses ssh url from API if http not in API response 1`] = `
+Object {
+  "defaultBranch": "master",
+  "isFork": false,
+}
 `;
 
-exports[`modules/platform/bitbucket-server/index endpoint with path updatePr() re-opens PR 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-  Object {
-    "body": Object {
-      "description": "body",
-      "reviewers": Array [
-        Object {
-          "user": Object {
-            "name": "userName2",
-          },
-        },
-      ],
-      "title": "title",
-      "version": 1,
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "94",
-      "content-type": "application/json",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "PUT",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "POST",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5/reopen?version=42",
-  },
-]
+exports[`modules/platform/bitbucket-server/index endpoint with path initRepo() works 1`] = `
+Object {
+  "defaultBranch": "master",
+  "isFork": false,
+}
 `;
 
-exports[`modules/platform/bitbucket-server/index endpoint with path updatePr() throws 1`] = `"Response code 405 (Method Not Allowed)"`;
+exports[`modules/platform/bitbucket-server/index endpoint with path massageMarkdown() returns diff files 1`] = `"**foo**bartext"`;
 
-exports[`modules/platform/bitbucket-server/index endpoint with path updatePr() throws 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-  Object {
-    "body": Object {
-      "description": "body",
-      "reviewers": Array [
-        Object {
-          "user": Object {
-            "name": "userName2",
-          },
-        },
-      ],
-      "title": "title",
-      "version": 1,
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "94",
-      "content-type": "application/json",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "PUT",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-]
-`;
+exports[`modules/platform/bitbucket-server/index endpoint with path massageMarkdown() sanitizes HTML comments in the body 1`] = `
+"---
 
-exports[`modules/platform/bitbucket-server/index endpoint with path updatePr() throws not-found 1 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-]
-`;
+- [ ] If you want to rebase/retry this PR, click this checkbox
+- [ ] <a href=\\"/some/link\\">Update renovate/renovate to 16.1.2</a>
 
-exports[`modules/platform/bitbucket-server/index endpoint with path updatePr() throws not-found 2 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/4",
-  },
-]
-`;
+---
 
-exports[`modules/platform/bitbucket-server/index endpoint with path updatePr() throws not-found 3 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-  Object {
-    "body": Object {
-      "description": "body",
-      "reviewers": Array [
-        Object {
-          "user": Object {
-            "name": "userName2",
-          },
-        },
-      ],
-      "title": "title",
-      "version": 1,
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "94",
-      "content-type": "application/json",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "PUT",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-]
-`;
+Empty comment.
 
-exports[`modules/platform/bitbucket-server/index endpoint with path updatePr() throws repository-changed 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/branches/default",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "GET",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-  Object {
-    "body": Object {
-      "description": "body",
-      "reviewers": Array [
-        Object {
-          "user": Object {
-            "name": "userName2",
-          },
-        },
-      ],
-      "title": "title",
-      "version": 1,
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "94",
-      "content-type": "application/json",
-      "host": "stash.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "PUT",
-    "url": "https://stash.renovatebot.com/vcs/rest/api/1.0/projects/SOME/repos/repo/pull-requests/5",
-  },
-]
+Followed by some information.
+"
 `;
+
+exports[`modules/platform/bitbucket-server/index endpoint with path updatePr() throws 1`] = `"Response code 405 (Method Not Allowed)"`;
diff --git a/lib/modules/platform/bitbucket-server/index.spec.ts b/lib/modules/platform/bitbucket-server/index.spec.ts
index ca08a78847f28fa1ec83baa7d0ffdbfac22fc1d9..ed3aa90d3aaa6831a5b4d4057784b93795bedf80 100644
--- a/lib/modules/platform/bitbucket-server/index.spec.ts
+++ b/lib/modules/platform/bitbucket-server/index.spec.ts
@@ -251,7 +251,7 @@ describe('modules/platform/bitbucket-server/index', () => {
 
       describe('getRepos()', () => {
         it('returns repos', async () => {
-          expect.assertions(2);
+          expect.assertions(1);
           httpMock
             .scope(urlHost)
             .get(
@@ -265,13 +265,12 @@ describe('modules/platform/bitbucket-server/index', () => {
               start: 0,
             });
           expect(await bitbucket.getRepos()).toEqual(['some/repo']);
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
       });
 
       describe('initRepo()', () => {
         it('works', async () => {
-          expect.assertions(2);
+          expect.assertions(1);
           httpMock
             .scope(urlHost)
             .get(`${urlPath}/rest/api/1.0/projects/SOME/repos/repo`)
@@ -288,11 +287,10 @@ describe('modules/platform/bitbucket-server/index', () => {
               repository: 'SOME/repo',
             })
           ).toMatchSnapshot();
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
 
         it('uses ssh url from API if http not in API response', async () => {
-          expect.assertions(3);
+          expect.assertions(2);
           const responseMock = repoMock(url, 'SOME', 'repo', {
             cloneUrl: { https: false, ssh: true },
           });
@@ -314,11 +312,10 @@ describe('modules/platform/bitbucket-server/index', () => {
             expect.objectContaining({ url: sshLink('SOME', 'repo') })
           );
           expect(res).toMatchSnapshot();
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
 
         it('uses http url from API with injected auth if http url in API response', async () => {
-          expect.assertions(3);
+          expect.assertions(2);
           const responseMock = repoMock(url, 'SOME', 'repo', {
             cloneUrl: { https: true, ssh: true },
           });
@@ -345,11 +342,10 @@ describe('modules/platform/bitbucket-server/index', () => {
             })
           );
           expect(res).toMatchSnapshot();
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
 
         it('generates URL if API does not contain clone links', async () => {
-          expect.assertions(3);
+          expect.assertions(2);
           const link = httpLink(url.toString(), 'SOME', 'repo');
           const responseMock = repoMock(url, 'SOME', 'repo', {
             cloneUrl: { https: false, ssh: false },
@@ -375,11 +371,10 @@ describe('modules/platform/bitbucket-server/index', () => {
             })
           );
           expect(res).toMatchSnapshot();
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
 
         it('throws REPOSITORY_EMPTY if there is no default branch', async () => {
-          expect.assertions(2);
+          expect.assertions(1);
           httpMock
             .scope(urlHost)
             .get(`${urlPath}/rest/api/1.0/projects/SOME/repos/repo`)
@@ -394,13 +389,12 @@ describe('modules/platform/bitbucket-server/index', () => {
               repository: 'SOME/repo',
             })
           ).rejects.toThrow(REPOSITORY_EMPTY);
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
       });
 
       describe('repoForceRebase()', () => {
         it('returns false on missing mergeConfig', async () => {
-          expect.assertions(2);
+          expect.assertions(1);
           httpMock
             .scope(urlHost)
             .get(
@@ -411,11 +405,10 @@ describe('modules/platform/bitbucket-server/index', () => {
             });
           const actual = await bitbucket.getRepoForceRebase();
           expect(actual).toBeFalse();
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
 
         it('returns false on missing defaultStrategy', async () => {
-          expect.assertions(2);
+          expect.assertions(1);
           httpMock
             .scope(urlHost)
             .get(
@@ -428,13 +421,12 @@ describe('modules/platform/bitbucket-server/index', () => {
             });
           const actual = await bitbucket.getRepoForceRebase();
           expect(actual).toBeFalse();
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
 
         it.each(['ff-only', 'rebase-ff-only', 'squash-ff-only'])(
           'return true if %s strategy is enabled',
           async (id) => {
-            expect.assertions(2);
+            expect.assertions(1);
             httpMock
               .scope(urlHost)
               .get(
@@ -449,14 +441,13 @@ describe('modules/platform/bitbucket-server/index', () => {
               });
             const actual = await bitbucket.getRepoForceRebase();
             expect(actual).toBeTrue();
-            expect(httpMock.getTrace()).toMatchSnapshot();
           }
         );
 
         it.each(['no-ff', 'ff', 'rebase-no-ff', 'squash'])(
           'return false if %s strategy is enabled',
           async (id) => {
-            expect.assertions(2);
+            expect.assertions(1);
             httpMock
               .scope(urlHost)
               .get(
@@ -471,7 +462,6 @@ describe('modules/platform/bitbucket-server/index', () => {
               });
             const actual = await bitbucket.getRepoForceRebase();
             expect(actual).toBeFalse();
-            expect(httpMock.getTrace()).toMatchSnapshot();
           }
         );
       });
@@ -497,7 +487,6 @@ describe('modules/platform/bitbucket-server/index', () => {
             .reply(200, prMock(url, 'SOME', 'repo'));
 
           expect(await bitbucket.addReviewers(5, ['name'])).toMatchSnapshot();
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
 
         it('sends the reviewer name as a reviewer', async () => {
@@ -514,8 +503,7 @@ describe('modules/platform/bitbucket-server/index', () => {
             )
             .reply(200, prMock(url, 'SOME', 'repo'));
 
-          await bitbucket.addReviewers(5, ['name']);
-          expect(httpMock.getTrace()).toMatchSnapshot();
+          await expect(bitbucket.addReviewers(5, ['name'])).toResolve();
         });
 
         it('throws not-found 1', async () => {
@@ -523,8 +511,6 @@ describe('modules/platform/bitbucket-server/index', () => {
           await expect(
             bitbucket.addReviewers(null as any, ['name'])
           ).rejects.toThrow(REPOSITORY_NOT_FOUND);
-
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
 
         it('throws not-found 2', async () => {
@@ -538,8 +524,6 @@ describe('modules/platform/bitbucket-server/index', () => {
           await expect(bitbucket.addReviewers(4, ['name'])).rejects.toThrow(
             REPOSITORY_NOT_FOUND
           );
-
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
 
         it('throws not-found 3', async () => {
@@ -557,8 +541,6 @@ describe('modules/platform/bitbucket-server/index', () => {
           await expect(bitbucket.addReviewers(5, ['name'])).rejects.toThrow(
             REPOSITORY_NOT_FOUND
           );
-
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
 
         it('throws repository-changed', async () => {
@@ -575,7 +557,6 @@ describe('modules/platform/bitbucket-server/index', () => {
           await expect(bitbucket.addReviewers(5, ['name'])).rejects.toThrow(
             REPOSITORY_CHANGED
           );
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
 
         it('throws on invalid reviewers', async () => {
@@ -611,7 +592,6 @@ describe('modules/platform/bitbucket-server/index', () => {
           await expect(
             bitbucket.addReviewers(5, ['name'])
           ).rejects.toThrowErrorMatchingSnapshot();
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
 
         it('throws', async () => {
@@ -628,7 +608,6 @@ describe('modules/platform/bitbucket-server/index', () => {
           await expect(
             bitbucket.addReviewers(5, ['name'])
           ).rejects.toThrowErrorMatchingSnapshot();
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
       });
 
@@ -652,7 +631,6 @@ describe('modules/platform/bitbucket-server/index', () => {
             content: 'content',
           });
           expect(res).toBeFalse();
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
 
         it('add comment if not found 1', async () => {
@@ -696,7 +674,6 @@ describe('modules/platform/bitbucket-server/index', () => {
               content: 'content',
             })
           ).toBeTrue();
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
 
         it('add comment if not found 2', async () => {
@@ -740,7 +717,6 @@ describe('modules/platform/bitbucket-server/index', () => {
               content: 'content',
             })
           ).toBeTrue();
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
 
         it('add updates comment if necessary 1', async () => {
@@ -790,7 +766,6 @@ describe('modules/platform/bitbucket-server/index', () => {
               content: 'some\ncontent',
             })
           ).toBeTrue();
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
 
         it('add updates comment if necessary 2', async () => {
@@ -834,7 +809,6 @@ describe('modules/platform/bitbucket-server/index', () => {
               content: 'some\ncontent',
             })
           ).toBeTrue();
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
 
         it('skips comment 1', async () => {
@@ -874,7 +848,6 @@ describe('modules/platform/bitbucket-server/index', () => {
               content: 'blablabla',
             })
           ).toBeTrue();
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
 
         it('skips comment 2', async () => {
@@ -913,7 +886,6 @@ describe('modules/platform/bitbucket-server/index', () => {
             content: '!merge',
           });
           expect(res).toBeTrue();
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
       });
 
@@ -947,12 +919,13 @@ describe('modules/platform/bitbucket-server/index', () => {
               isLastPage: true,
               values: [{ action: 'OTHER' }],
             });
-          await bitbucket.ensureCommentRemoval({
-            type: 'by-topic',
-            number: 5,
-            topic: 'topic',
-          });
-          expect(httpMock.getTrace()).toMatchSnapshot();
+          await expect(
+            bitbucket.ensureCommentRemoval({
+              type: 'by-topic',
+              number: 5,
+              topic: 'topic',
+            })
+          ).toResolve();
         });
 
         it('deletes comment by topic if found', async () => {
@@ -995,12 +968,13 @@ describe('modules/platform/bitbucket-server/index', () => {
             )
             .reply(200);
 
-          await bitbucket.ensureCommentRemoval({
-            type: 'by-topic',
-            number: 5,
-            topic: 'some-subject',
-          });
-          expect(httpMock.getTrace()).toMatchSnapshot();
+          await expect(
+            bitbucket.ensureCommentRemoval({
+              type: 'by-topic',
+              number: 5,
+              topic: 'some-subject',
+            })
+          ).toResolve();
         });
 
         it('deletes comment by content if found', async () => {
@@ -1043,12 +1017,13 @@ describe('modules/platform/bitbucket-server/index', () => {
             )
             .reply(200);
 
-          await bitbucket.ensureCommentRemoval({
-            type: 'by-content',
-            number: 5,
-            content: '!merge',
-          });
-          expect(httpMock.getTrace()).toMatchSnapshot();
+          await expect(
+            bitbucket.ensureCommentRemoval({
+              type: 'by-content',
+              number: 5,
+              content: '!merge',
+            })
+          ).toResolve();
         });
 
         it('deletes nothing', async () => {
@@ -1081,12 +1056,13 @@ describe('modules/platform/bitbucket-server/index', () => {
               values: [{ action: 'OTHER' }],
             });
 
-          await bitbucket.ensureCommentRemoval({
-            type: 'by-topic',
-            number: 5,
-            topic: 'topic',
-          });
-          expect(httpMock.getTrace()).toMatchSnapshot();
+          await expect(
+            bitbucket.ensureCommentRemoval({
+              type: 'by-topic',
+              number: 5,
+              topic: 'topic',
+            })
+          ).toResolve();
         });
       });
 
@@ -1102,7 +1078,6 @@ describe('modules/platform/bitbucket-server/index', () => {
               values: [prMock(url, 'SOME', 'repo')],
             });
           expect(await bitbucket.getPrList()).toMatchSnapshot();
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
       });
 
@@ -1125,7 +1100,6 @@ describe('modules/platform/bitbucket-server/index', () => {
           expect(
             await bitbucket.getBranchPr('userName1/pullRequest5')
           ).toMatchSnapshot();
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
         it('has no pr', async () => {
           const scope = await initRepo();
@@ -1143,7 +1117,6 @@ describe('modules/platform/bitbucket-server/index', () => {
               branchName: 'userName1/pullRequest1',
             })
           ).toBeUndefined();
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
       });
 
@@ -1166,7 +1139,6 @@ describe('modules/platform/bitbucket-server/index', () => {
               state: PrState.Open,
             })
           ).toMatchSnapshot();
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
         it('has no pr', async () => {
           const scope = await initRepo();
@@ -1186,7 +1158,6 @@ describe('modules/platform/bitbucket-server/index', () => {
               state: PrState.Closed,
             })
           ).toBeUndefined();
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
       });
 
@@ -1215,7 +1186,6 @@ describe('modules/platform/bitbucket-server/index', () => {
             },
           });
           expect(id).toBe(5);
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
 
         it('posts PR default branch', async () => {
@@ -1243,7 +1213,6 @@ describe('modules/platform/bitbucket-server/index', () => {
             },
           });
           expect(id).toBe(5);
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
       });
 
@@ -1251,7 +1220,6 @@ describe('modules/platform/bitbucket-server/index', () => {
         it('returns null for no prNo', async () => {
           httpMock.scope(urlHost);
           expect(await bitbucket.getPr(undefined as any)).toBeNull();
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
         it('gets a PR', async () => {
           const scope = await initRepo();
@@ -1262,7 +1230,6 @@ describe('modules/platform/bitbucket-server/index', () => {
             .reply(200, prMock(url, 'SOME', 'repo'));
 
           expect(await bitbucket.getPr(5)).toMatchSnapshot();
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
 
         it('canRebase', async () => {
@@ -1283,8 +1250,6 @@ describe('modules/platform/bitbucket-server/index', () => {
           expect(await bitbucket.getPr(5)).toMatchSnapshot();
 
           expect(await bitbucket.getPr(5)).toMatchSnapshot();
-
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
 
         it('gets a closed PR', async () => {
@@ -1303,7 +1268,6 @@ describe('modules/platform/bitbucket-server/index', () => {
             });
 
           expect(await bitbucket.getPr(5)).toMatchSnapshot();
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
       });
 
@@ -1320,12 +1284,13 @@ describe('modules/platform/bitbucket-server/index', () => {
             )
             .reply(200);
 
-          await bitbucket.updatePr({
-            number: 5,
-            prTitle: 'title',
-            prBody: 'body',
-          });
-          expect(httpMock.getTrace()).toMatchSnapshot();
+          await expect(
+            bitbucket.updatePr({
+              number: 5,
+              prTitle: 'title',
+              prBody: 'body',
+            })
+          ).toResolve();
         });
 
         it('closes PR', async () => {
@@ -1344,13 +1309,14 @@ describe('modules/platform/bitbucket-server/index', () => {
             )
             .reply(200, { status: 'DECLINED' });
 
-          await bitbucket.updatePr({
-            number: 5,
-            prTitle: 'title',
-            prBody: 'body',
-            state: PrState.Closed,
-          });
-          expect(httpMock.getTrace()).toMatchSnapshot();
+          await expect(
+            bitbucket.updatePr({
+              number: 5,
+              prTitle: 'title',
+              prBody: 'body',
+              state: PrState.Closed,
+            })
+          ).toResolve();
         });
 
         it('re-opens PR', async () => {
@@ -1369,13 +1335,14 @@ describe('modules/platform/bitbucket-server/index', () => {
             )
             .reply(200, { status: 'OPEN' });
 
-          await bitbucket.updatePr({
-            number: 5,
-            prTitle: 'title',
-            prBody: 'body',
-            state: PrState.Open,
-          });
-          expect(httpMock.getTrace()).toMatchSnapshot();
+          await expect(
+            bitbucket.updatePr({
+              number: 5,
+              prTitle: 'title',
+              prBody: 'body',
+              state: PrState.Open,
+            })
+          ).toResolve();
         });
 
         it('throws not-found 1', async () => {
@@ -1387,8 +1354,6 @@ describe('modules/platform/bitbucket-server/index', () => {
               prBody: 'body',
             })
           ).rejects.toThrow(REPOSITORY_NOT_FOUND);
-
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
 
         it('throws not-found 2', async () => {
@@ -1401,8 +1366,6 @@ describe('modules/platform/bitbucket-server/index', () => {
           await expect(
             bitbucket.updatePr({ number: 4, prTitle: 'title', prBody: 'body' })
           ).rejects.toThrow(REPOSITORY_NOT_FOUND);
-
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
 
         it('throws not-found 3', async () => {
@@ -1420,8 +1383,6 @@ describe('modules/platform/bitbucket-server/index', () => {
           await expect(
             bitbucket.updatePr({ number: 5, prTitle: 'title', prBody: 'body' })
           ).rejects.toThrow(REPOSITORY_NOT_FOUND);
-
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
 
         it('handles invalid users gracefully by retrying without invalid reviewers', async () => {
@@ -1463,14 +1424,14 @@ describe('modules/platform/bitbucket-server/index', () => {
             )
             .reply(200, prMock(url, 'SOME', 'repo'));
 
-          await bitbucket.updatePr({
-            number: 5,
-            prTitle: 'title',
-            prBody: 'body',
-            state: PrState.Open,
-          });
-
-          expect(httpMock.getTrace()).toMatchSnapshot();
+          await expect(
+            bitbucket.updatePr({
+              number: 5,
+              prTitle: 'title',
+              prBody: 'body',
+              state: PrState.Open,
+            })
+          ).toResolve();
         });
 
         it('throws repository-changed', async () => {
@@ -1488,7 +1449,6 @@ describe('modules/platform/bitbucket-server/index', () => {
           await expect(
             bitbucket.updatePr({ number: 5, prTitle: 'title', prBody: 'body' })
           ).rejects.toThrow(REPOSITORY_CHANGED);
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
 
         it('throws', async () => {
@@ -1506,7 +1466,6 @@ describe('modules/platform/bitbucket-server/index', () => {
           await expect(
             bitbucket.updatePr({ number: 5, prTitle: 'title', prBody: 'body' })
           ).rejects.toThrowErrorMatchingSnapshot();
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
       });
 
@@ -1529,7 +1488,6 @@ describe('modules/platform/bitbucket-server/index', () => {
               id: 5,
             })
           ).toBeTrue();
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
 
         it('throws not-found 1', async () => {
@@ -1539,7 +1497,6 @@ describe('modules/platform/bitbucket-server/index', () => {
             id: null as any,
           });
           await expect(res).rejects.toThrow(REPOSITORY_NOT_FOUND);
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
 
         it('throws not-found 2', async () => {
@@ -1556,7 +1513,6 @@ describe('modules/platform/bitbucket-server/index', () => {
               id: 4,
             })
           ).rejects.toThrow(REPOSITORY_NOT_FOUND);
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
 
         it('throws not-found 3', async () => {
@@ -1577,7 +1533,6 @@ describe('modules/platform/bitbucket-server/index', () => {
               id: 5,
             })
           ).rejects.toThrow(REPOSITORY_NOT_FOUND);
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
 
         it('throws conflicted', async () => {
@@ -1598,7 +1553,6 @@ describe('modules/platform/bitbucket-server/index', () => {
               id: 5,
             })
           ).toBeFalsy();
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
 
         it('unknown error', async () => {
@@ -1619,7 +1573,6 @@ describe('modules/platform/bitbucket-server/index', () => {
               id: 5,
             })
           ).resolves.toBeFalse();
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
       });
 
@@ -1671,8 +1624,6 @@ Followed by some information.
           expect(await bitbucket.getBranchStatus('somebranch')).toEqual(
             BranchStatus.green
           );
-
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
 
         it('should be pending', async () => {
@@ -1704,8 +1655,6 @@ Followed by some information.
           expect(await bitbucket.getBranchStatus('somebranch')).toEqual(
             BranchStatus.yellow
           );
-
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
 
         it('should be failed', async () => {
@@ -1733,8 +1682,6 @@ Followed by some information.
           expect(await bitbucket.getBranchStatus('somebranch')).toEqual(
             BranchStatus.red
           );
-
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
 
         it('throws repository-changed', async () => {
@@ -1743,7 +1690,6 @@ Followed by some information.
           await expect(bitbucket.getBranchStatus('somebranch')).rejects.toThrow(
             REPOSITORY_CHANGED
           );
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
       });
 
@@ -1768,8 +1714,6 @@ Followed by some information.
           expect(
             await bitbucket.getBranchStatusCheck('somebranch', 'context-2')
           ).toEqual(BranchStatus.green);
-
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
 
         it('should be pending', async () => {
@@ -1792,8 +1736,6 @@ Followed by some information.
           expect(
             await bitbucket.getBranchStatusCheck('somebranch', 'context-2')
           ).toEqual(BranchStatus.yellow);
-
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
 
         it('should be failure', async () => {
@@ -1816,8 +1758,6 @@ Followed by some information.
           expect(
             await bitbucket.getBranchStatusCheck('somebranch', 'context-2')
           ).toEqual(BranchStatus.red);
-
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
 
         it('should be null', async () => {
@@ -1844,8 +1784,6 @@ Followed by some information.
           expect(
             await bitbucket.getBranchStatusCheck('somebranch', 'context-2')
           ).toBeNull();
-
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
       });
 
@@ -1870,14 +1808,14 @@ Followed by some information.
             )
             .reply(200, {});
 
-          await bitbucket.setBranchStatus({
-            branchName: 'somebranch',
-            context: 'context-2',
-            description: null as any,
-            state: BranchStatus.green,
-          });
-
-          expect(httpMock.getTrace()).toMatchSnapshot();
+          await expect(
+            bitbucket.setBranchStatus({
+              branchName: 'somebranch',
+              context: 'context-2',
+              description: null as any,
+              state: BranchStatus.green,
+            })
+          ).toResolve();
         });
         it('should be success 2', async () => {
           const scope = await initRepo();
@@ -1899,14 +1837,14 @@ Followed by some information.
             )
             .reply(200, {});
 
-          await bitbucket.setBranchStatus({
-            branchName: 'somebranch',
-            context: 'context-2',
-            description: null as any,
-            state: BranchStatus.red,
-          });
-
-          expect(httpMock.getTrace()).toMatchSnapshot();
+          await expect(
+            bitbucket.setBranchStatus({
+              branchName: 'somebranch',
+              context: 'context-2',
+              description: null as any,
+              state: BranchStatus.red,
+            })
+          ).toResolve();
         });
         it('should be success 3', async () => {
           const scope = await initRepo();
@@ -1928,14 +1866,14 @@ Followed by some information.
             )
             .reply(200, {});
 
-          await bitbucket.setBranchStatus({
-            branchName: 'somebranch',
-            context: 'context-2',
-            description: null as any,
-            state: BranchStatus.red,
-          });
-
-          expect(httpMock.getTrace()).toMatchSnapshot();
+          await expect(
+            bitbucket.setBranchStatus({
+              branchName: 'somebranch',
+              context: 'context-2',
+              description: null as any,
+              state: BranchStatus.red,
+            })
+          ).toResolve();
         });
         it('should be success 4', async () => {
           const scope = await initRepo();
@@ -1957,14 +1895,14 @@ Followed by some information.
             )
             .reply(200, {});
 
-          await bitbucket.setBranchStatus({
-            branchName: 'somebranch',
-            context: 'context-2',
-            description: null as any,
-            state: BranchStatus.yellow,
-          });
-
-          expect(httpMock.getTrace()).toMatchSnapshot();
+          await expect(
+            bitbucket.setBranchStatus({
+              branchName: 'somebranch',
+              context: 'context-2',
+              description: null as any,
+              state: BranchStatus.yellow,
+            })
+          ).toResolve();
         });
         it('should be success 5', async () => {
           const scope = await initRepo();
@@ -1981,14 +1919,14 @@ Followed by some information.
             )
             .replyWithError('requst-failed');
 
-          await bitbucket.setBranchStatus({
-            branchName: 'somebranch',
-            context: 'context-2',
-            description: null as any,
-            state: BranchStatus.green,
-          });
-
-          expect(httpMock.getTrace()).toMatchSnapshot();
+          await expect(
+            bitbucket.setBranchStatus({
+              branchName: 'somebranch',
+              context: 'context-2',
+              description: null as any,
+              state: BranchStatus.green,
+            })
+          ).toResolve();
         });
         it('should be success 6', async () => {
           const scope = await initRepo();
@@ -2001,14 +1939,14 @@ Followed by some information.
               values: [{ key: 'context-1', state: 'SUCCESSFUL' }],
             });
 
-          await bitbucket.setBranchStatus({
-            branchName: 'somebranch',
-            context: 'context-1',
-            description: null as any,
-            state: BranchStatus.green,
-          });
-
-          expect(httpMock.getTrace()).toMatchSnapshot();
+          await expect(
+            bitbucket.setBranchStatus({
+              branchName: 'somebranch',
+              context: 'context-1',
+              description: null as any,
+              state: BranchStatus.green,
+            })
+          ).toResolve();
         });
       });
 
@@ -2026,7 +1964,6 @@ Followed by some information.
             });
           const res = await bitbucket.getJsonFile('file.json');
           expect(res).toEqual(data);
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
 
         it('returns file content in json5 format', async () => {
@@ -2047,7 +1984,6 @@ Followed by some information.
             });
           const res = await bitbucket.getJsonFile('file.json5');
           expect(res).toEqual({ foo: 'bar' });
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
 
         it('returns file content from given repo', async () => {
@@ -2066,7 +2002,6 @@ Followed by some information.
             'DIFFERENT/repo'
           );
           expect(res).toEqual(data);
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
 
         it('returns file content from branch or tag', async () => {
@@ -2086,7 +2021,6 @@ Followed by some information.
             'dev'
           );
           expect(res).toEqual(data);
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
 
         it('throws on malformed JSON', async () => {
@@ -2100,7 +2034,6 @@ Followed by some information.
               lines: [{ text: '!@#' }],
             });
           await expect(bitbucket.getJsonFile('file.json')).rejects.toThrow();
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
         it('throws on long content', async () => {
           const scope = await initRepo();
@@ -2113,7 +2046,6 @@ Followed by some information.
               lines: [{ text: '{' }],
             });
           await expect(bitbucket.getJsonFile('file.json')).rejects.toThrow();
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
         it('throws on errors', async () => {
           const scope = await initRepo();
@@ -2123,7 +2055,6 @@ Followed by some information.
             )
             .replyWithError('some error');
           await expect(bitbucket.getJsonFile('file.json')).rejects.toThrow();
-          expect(httpMock.getTrace()).toMatchSnapshot();
         });
       });
     });
diff --git a/lib/modules/platform/bitbucket/__snapshots__/comments.spec.ts.snap b/lib/modules/platform/bitbucket/__snapshots__/comments.spec.ts.snap
deleted file mode 100644
index 391d1d639e1271e10c98ccac9a5947de0e3acae0..0000000000000000000000000000000000000000
--- a/lib/modules/platform/bitbucket/__snapshots__/comments.spec.ts.snap
+++ /dev/null
@@ -1,180 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`modules/platform/bitbucket/comments ensureComment() add comment if not found 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/pullrequests/5/comments?pagelen=100",
-  },
-  Object {
-    "body": Object {
-      "content": Object {
-        "raw": "### topic
-
-content",
-      },
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "content-length": "42",
-      "content-type": "application/json",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/pullrequests/5/comments",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket/comments ensureComment() add updates comment if necessary 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/pullrequests/5/comments?pagelen=100",
-  },
-  Object {
-    "body": Object {
-      "content": Object {
-        "raw": "### some-subject
-
-some
-content",
-      },
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "content-length": "55",
-      "content-type": "application/json",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PUT",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/pullrequests/5/comments/5",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket/comments ensureComment() does not throw 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/pullrequests/3/comments?pagelen=100",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket/comments ensureComment() skips comment 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/pullrequests/5/comments?pagelen=100",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket/comments ensureCommentRemoval() deletes comment by content if found 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/pullrequests/5/comments?pagelen=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "DELETE",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/pullrequests/5/comments/5",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket/comments ensureCommentRemoval() deletes comment by topic if found 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/pullrequests/5/comments?pagelen=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "DELETE",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/pullrequests/5/comments/5",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket/comments ensureCommentRemoval() deletes nothing 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/pullrequests/5/comments?pagelen=100",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket/comments ensureCommentRemoval() does not throw 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/pullrequests/5/comments?pagelen=100",
-  },
-]
-`;
diff --git a/lib/modules/platform/bitbucket/__snapshots__/index.spec.ts.snap b/lib/modules/platform/bitbucket/__snapshots__/index.spec.ts.snap
index 964e40d9acbb0923e77f8eee98b2e0cb024d7f3b..f61be46c071ded940547d5a14af3d9a394c19660 100644
--- a/lib/modules/platform/bitbucket/__snapshots__/index.spec.ts.snap
+++ b/lib/modules/platform/bitbucket/__snapshots__/index.spec.ts.snap
@@ -2,1083 +2,59 @@
 
 exports[`modules/platform/bitbucket/index addAssignees() does not throw 1`] = `undefined`;
 
-exports[`modules/platform/bitbucket/index addReviewers should add the given reviewers to the PR 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/pullrequests/5",
-  },
-  Object {
-    "body": Object {
-      "reviewers": Array [
-        Object {
-          "username": "someuser",
-        },
-        Object {
-          "username": "someotheruser",
-        },
-      ],
-      "title": "title",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "84",
-      "content-type": "application/json",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PUT",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/pullrequests/5",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket/index createPr() posts PR 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/default-reviewers",
-  },
-  Object {
-    "body": Object {
-      "close_source_branch": true,
-      "description": "body",
-      "destination": Object {
-        "branch": Object {
-          "name": "master",
-        },
-      },
-      "reviewers": Array [
-        Object {
-          "uuid": "{1234-5678}",
-        },
-      ],
-      "source": Object {
-        "branch": Object {
-          "name": "branch",
-        },
-      },
-      "title": "title",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "183",
-      "content-type": "application/json",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/pullrequests",
-  },
-]
-`;
-
 exports[`modules/platform/bitbucket/index ensureComment() does not throw 1`] = `false`;
 
 exports[`modules/platform/bitbucket/index ensureCommentRemoval() does not throw 1`] = `undefined`;
 
-exports[`modules/platform/bitbucket/index ensureIssue() creates new issue 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/empty",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/empty/issues?q=title%3D%22title%22%20AND%20(state%20%3D%20%22new%22%20OR%20state%20%3D%20%22open%22)%20AND%20reporter.username%3D%22abc%22",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/empty/issues?q=title%3D%22old-title%22%20AND%20(state%20%3D%20%22new%22%20OR%20state%20%3D%20%22open%22)%20AND%20reporter.username%3D%22abc%22",
-  },
-  Object {
-    "body": Object {
-      "content": Object {
-        "markup": "markdown",
-        "raw": "body",
-      },
-      "title": "title",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "62",
-      "content-type": "application/json",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/empty/issues",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket/index ensureIssue() noop for existing issue 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/issues?q=title%3D%22title%22%20AND%20(state%20%3D%20%22new%22%20OR%20state%20%3D%20%22open%22)%20AND%20reporter.username%3D%22abc%22",
-  },
-  Object {
-    "body": Object {
-      "state": "closed",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "18",
-      "content-type": "application/json",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PUT",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/issues/26",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket/index ensureIssue() updates existing issues 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/issues?q=title%3D%22title%22%20AND%20(state%20%3D%20%22new%22%20OR%20state%20%3D%20%22open%22)%20AND%20reporter.username%3D%22abc%22",
-  },
-  Object {
-    "body": Object {
-      "state": "closed",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "18",
-      "content-type": "application/json",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PUT",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/issues/26",
-  },
-  Object {
-    "body": Object {
-      "content": Object {
-        "markup": "markdown",
-        "raw": "body",
-      },
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "46",
-      "content-type": "application/json",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PUT",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/issues/25",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket/index ensureIssueClosing() closes issue 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/issues?q=title%3D%22title%22%20AND%20(state%20%3D%20%22new%22%20OR%20state%20%3D%20%22open%22)%20AND%20reporter.username%3D%22abc%22",
-  },
-  Object {
-    "body": Object {
-      "state": "closed",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "18",
-      "content-type": "application/json",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PUT",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/issues/25",
-  },
-  Object {
-    "body": Object {
-      "state": "closed",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "18",
-      "content-type": "application/json",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PUT",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/issues/26",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket/index ensureIssueClosing() does not throw 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo",
-  },
-]
-`;
-
 exports[`modules/platform/bitbucket/index findIssue() does not throw 1`] = `
 Object {
   "body": "content",
   "number": 25,
-}
-`;
-
-exports[`modules/platform/bitbucket/index findIssue() does not throw 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/issues?q=title%3D%22title%22%20AND%20(state%20%3D%20%22new%22%20OR%20state%20%3D%20%22open%22)%20AND%20reporter.username%3D%22abc%22",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket/index findIssue() returns null if no issues 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/empty",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/empty/issues?q=title%3D%22title%22%20AND%20(state%20%3D%20%22new%22%20OR%20state%20%3D%20%22open%22)%20AND%20reporter.username%3D%22abc%22",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket/index findPr() finds pr 1`] = `
-Object {
-  "body": "summary",
-  "createdAt": "2018-07-02T07:02:25.275030+00:00",
-  "displayNumber": "Pull Request #5",
-  "number": 5,
-  "sourceBranch": "branch",
-  "state": "open",
-  "targetBranch": "master",
-  "title": "title",
-}
-`;
-
-exports[`modules/platform/bitbucket/index findPr() finds pr 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/pullrequests?state=OPEN&state=MERGED&state=DECLINED&state=SUPERSEDED&pagelen=50",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket/index getBranchPr() bitbucket finds PR for branch 1`] = `
-Object {
-  "body": "summary",
-  "createdAt": "2018-07-02T07:02:25.275030+00:00",
-  "displayNumber": "Pull Request #5",
-  "hasReviewers": false,
-  "number": 5,
-  "sourceBranch": "branch",
-  "state": "open",
-  "targetBranch": "master",
-  "title": "title",
-}
-`;
-
-exports[`modules/platform/bitbucket/index getBranchPr() bitbucket finds PR for branch 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/pullrequests?state=OPEN&state=MERGED&state=DECLINED&state=SUPERSEDED&pagelen=50",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/pullrequests/5",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket/index getBranchPr() returns null if no PR for branch 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/pullrequests?state=OPEN&state=MERGED&state=DECLINED&state=SUPERSEDED&pagelen=50",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket/index getBranchStatus() getBranchStatus 3 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/refs/branches/master",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/commit/master_hash/statuses?pagelen=100",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket/index getBranchStatus() getBranchStatus 4 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/refs/branches/branch",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/commit/branch_hash/statuses?pagelen=100",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket/index getBranchStatus() getBranchStatus 5 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/refs/branches/pending/branch",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/commit/pending/branch_hash/statuses?pagelen=100",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket/index getBranchStatus() getBranchStatus 6 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/refs/branches/branch-with-empty-status",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/commit/branch-with-empty-status/statuses?pagelen=100",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket/index getBranchStatusCheck() getBranchStatusCheck 1 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/refs/branches/master",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/commit/master_hash/statuses?pagelen=100",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket/index getBranchStatusCheck() getBranchStatusCheck 2 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/refs/branches/master",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/commit/master_hash/statuses?pagelen=100",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket/index getBranchStatusCheck() getBranchStatusCheck 3 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/refs/branches/master",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/commit/master_hash/statuses?pagelen=100",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket/index getIssueList() does not throw 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/issues?q=(state%20%3D%20%22new%22%20OR%20state%20%3D%20%22open%22)%20AND%20reporter.username%3D%22abc%22",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket/index getIssueList() get issues 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/issues?q=(state%20%3D%20%22new%22%20OR%20state%20%3D%20%22open%22)%20AND%20reporter.username%3D%22abc%22",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket/index getIssueList() get issues 2`] = `
-Array [
-  Object {
-    "content": Object {
-      "raw": "content",
-    },
-    "id": 25,
-    "title": "title",
-  },
-  Object {
-    "content": Object {
-      "raw": "content",
-    },
-    "id": 26,
-    "title": "title",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket/index getIssueList() has no issues 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket/index getJsonFile() returns file content 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/src/HEAD/file.json",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket/index getJsonFile() returns file content from branch or tag 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/src/dev/file.json",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket/index getJsonFile() returns file content from branch with a slash in its name 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/refs/branches/feat/123-test",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/src/1234567890/file.json",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket/index getJsonFile() returns file content from given repo 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/different/repo/src/HEAD/file.json",
-  },
-]
+}
 `;
 
-exports[`modules/platform/bitbucket/index getJsonFile() returns file content in json5 format 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/src/HEAD/file.json5",
-  },
-]
+exports[`modules/platform/bitbucket/index findPr() finds pr 1`] = `
+Object {
+  "body": "summary",
+  "createdAt": "2018-07-02T07:02:25.275030+00:00",
+  "displayNumber": "Pull Request #5",
+  "number": 5,
+  "sourceBranch": "branch",
+  "state": "open",
+  "targetBranch": "master",
+  "title": "title",
+}
 `;
 
-exports[`modules/platform/bitbucket/index getJsonFile() throws on errors 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/src/HEAD/file.json",
-  },
-]
+exports[`modules/platform/bitbucket/index getBranchPr() bitbucket finds PR for branch 1`] = `
+Object {
+  "body": "summary",
+  "createdAt": "2018-07-02T07:02:25.275030+00:00",
+  "displayNumber": "Pull Request #5",
+  "hasReviewers": false,
+  "number": 5,
+  "sourceBranch": "branch",
+  "state": "open",
+  "targetBranch": "master",
+  "title": "title",
+}
 `;
 
-exports[`modules/platform/bitbucket/index getJsonFile() throws on malformed JSON 1`] = `
+exports[`modules/platform/bitbucket/index getIssueList() get issues 1`] = `
 Array [
   Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
+    "content": Object {
+      "raw": "content",
     },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo",
+    "id": 25,
+    "title": "title",
   },
   Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
+    "content": Object {
+      "raw": "content",
     },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/src/HEAD/file.json",
+    "id": 26,
+    "title": "title",
   },
 ]
 `;
@@ -1125,55 +101,6 @@ Object {
 }
 `;
 
-exports[`modules/platform/bitbucket/index getPr() canRebase 4`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/pullrequests/3",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/pullrequests/5",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/pullrequests/5",
-  },
-]
-`;
-
 exports[`modules/platform/bitbucket/index getPr() exists 1`] = `
 Object {
   "body": "summary",
@@ -1188,33 +115,6 @@ Object {
 }
 `;
 
-exports[`modules/platform/bitbucket/index getPr() exists 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/pullrequests/5",
-  },
-]
-`;
-
 exports[`modules/platform/bitbucket/index getPrList() filters PR list by author 1`] = `
 Array [
   Object {
@@ -1230,60 +130,6 @@ Array [
 ]
 `;
 
-exports[`modules/platform/bitbucket/index getPrList() filters PR list by author 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic cmVub3ZhdGU6cGFzcw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/user",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/pullrequests?state=OPEN&state=MERGED&state=DECLINED&state=SUPERSEDED&q=author.uuid%3D%2212345%22&pagelen=50",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket/index getRepos() returns repos 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories?role=contributor&pagelen=100",
-  },
-]
-`;
-
 exports[`modules/platform/bitbucket/index initPlatform() should init 1`] = `
 Object {
   "endpoint": "https://api.bitbucket.org/",
@@ -1297,539 +143,8 @@ Object {
 }
 `;
 
-exports[`modules/platform/bitbucket/index initRepo() works 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo",
-  },
-]
-`;
-
 exports[`modules/platform/bitbucket/index massageMarkdown() returns diff files 1`] = `"**foo**bartext"`;
 
-exports[`modules/platform/bitbucket/index mergePr() posts Merge with auto 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo",
-  },
-  Object {
-    "body": Object {
-      "close_source_branch": true,
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "28",
-      "content-type": "application/json",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/pullrequests/5/merge",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket/index mergePr() posts Merge with fast-forward 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo",
-  },
-  Object {
-    "body": Object {
-      "close_source_branch": true,
-      "merge_strategy": "fast_forward",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "60",
-      "content-type": "application/json",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/pullrequests/5/merge",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket/index mergePr() posts Merge with merge-commit 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo",
-  },
-  Object {
-    "body": Object {
-      "close_source_branch": true,
-      "merge_strategy": "merge_commit",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "60",
-      "content-type": "application/json",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/pullrequests/5/merge",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket/index mergePr() posts Merge with optional merge strategy 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo",
-  },
-  Object {
-    "body": Object {
-      "close_source_branch": true,
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "28",
-      "content-type": "application/json",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/pullrequests/5/merge",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket/index mergePr() posts Merge with squash 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo",
-  },
-  Object {
-    "body": Object {
-      "close_source_branch": true,
-      "merge_strategy": "squash",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "54",
-      "content-type": "application/json",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/pullrequests/5/merge",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket/index setBranchStatus() posts status 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/refs/branches/branch",
-  },
-  Object {
-    "body": Object {
-      "description": "description",
-      "key": "context",
-      "name": "context",
-      "state": "FAILED",
-      "url": "targetUrl",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "97",
-      "content-type": "application/json",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/commit/branch_hash/statuses/build",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/refs/branches/branch",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/commit/branch_hash/statuses?pagelen=100",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket/index updatePr() closes PR 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/pullrequests/5",
-  },
-  Object {
-    "body": Object {
-      "title": "title",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "17",
-      "content-type": "application/json",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PUT",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/pullrequests/5",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/pullrequests/5/decline",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket/index updatePr() puts PR 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/pullrequests/5",
-  },
-  Object {
-    "body": Object {
-      "description": "body",
-      "reviewers": Array [
-        Object {
-          "display_name": "Jane Smith",
-          "uuid": "{90b6646d-1724-4a64-9fd9-539515fe94e9}",
-        },
-      ],
-      "title": "title",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "130",
-      "content-type": "application/json",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PUT",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/pullrequests/5",
-  },
-]
-`;
-
-exports[`modules/platform/bitbucket/index updatePr() removes inactive reviewers when updating pr 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/pullrequests/5",
-  },
-  Object {
-    "body": Object {
-      "description": "body",
-      "reviewers": Array [
-        Object {
-          "account_id": "456",
-          "display_name": "Jane Smith",
-          "uuid": "{90b6646d-1724-4a64-9fd9-539515fe94e9}",
-        },
-        Object {
-          "account_id": "123",
-          "display_name": "Bob Smith",
-          "uuid": "{d2238482-2e9f-48b3-8630-de22ccb9e42f}",
-        },
-      ],
-      "title": "title",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "245",
-      "content-type": "application/json",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PUT",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/pullrequests/5",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/users/%7B90b6646d-1724-4a64-9fd9-539515fe94e9%7D",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/users/%7Bd2238482-2e9f-48b3-8630-de22ccb9e42f%7D",
-  },
-  Object {
-    "body": Object {
-      "description": "body",
-      "reviewers": Array [
-        Object {
-          "account_id": "456",
-          "display_name": "Jane Smith",
-          "uuid": "{90b6646d-1724-4a64-9fd9-539515fe94e9}",
-        },
-      ],
-      "title": "title",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "149",
-      "content-type": "application/json",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PUT",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/pullrequests/5",
-  },
-]
-`;
-
 exports[`modules/platform/bitbucket/index updatePr() rethrows exception when PR update error due to unknown reviewers error 1`] = `"Response code 400 (Bad Request)"`;
 
-exports[`modules/platform/bitbucket/index updatePr() rethrows exception when PR update error due to unknown reviewers error 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/pullrequests/5",
-  },
-  Object {
-    "body": Object {
-      "description": "body",
-      "reviewers": Array [
-        Object {
-          "display_name": "Jane Smith",
-          "uuid": "{90b6646d-1724-4a64-9fd9-539515fe94e9}",
-        },
-      ],
-      "title": "title",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "content-length": "130",
-      "content-type": "application/json",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PUT",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/pullrequests/5",
-  },
-]
-`;
-
 exports[`modules/platform/bitbucket/index updatePr() throws an error on failure to get current list of reviewers 1`] = `"Response code 500 (Internal Server Error)"`;
-
-exports[`modules/platform/bitbucket/index updatePr() throws an error on failure to get current list of reviewers 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Basic YWJjOjEyMw==",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/some/repo/pullrequests/5",
-  },
-]
-`;
diff --git a/lib/modules/platform/bitbucket/__snapshots__/utils.spec.ts.snap b/lib/modules/platform/bitbucket/__snapshots__/utils.spec.ts.snap
deleted file mode 100644
index afbeac40a5d41c7ec87402c2b15531b7fa5e4c1d..0000000000000000000000000000000000000000
--- a/lib/modules/platform/bitbucket/__snapshots__/utils.spec.ts.snap
+++ /dev/null
@@ -1,36 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`modules/platform/bitbucket/utils paginates 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/some-url?pagelen=10",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/?pagelen=10&after=9&role=contributor",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.bitbucket.org/2.0/repositories/?pagelen=10&after=19&role=contributor",
-  },
-]
-`;
diff --git a/lib/modules/platform/bitbucket/comments.spec.ts b/lib/modules/platform/bitbucket/comments.spec.ts
index 815c3182c0950bdb3117ba60708a4bedafbc7b1e..b961b8208d3359df8e94a4df0b6415e44a9305c3 100644
--- a/lib/modules/platform/bitbucket/comments.spec.ts
+++ b/lib/modules/platform/bitbucket/comments.spec.ts
@@ -15,7 +15,7 @@ describe('modules/platform/bitbucket/comments', () => {
 
   describe('ensureComment()', () => {
     it('does not throw', async () => {
-      expect.assertions(2);
+      expect.assertions(1);
       httpMock
         .scope(baseUrl)
         .get('/2.0/repositories/some/repo/pullrequests/3/comments?pagelen=100')
@@ -28,11 +28,10 @@ describe('modules/platform/bitbucket/comments', () => {
           content: 'content',
         })
       ).toBeFalse();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('add comment if not found', async () => {
-      expect.assertions(2);
+      expect.assertions(1);
       httpMock
         .scope(baseUrl)
         .get('/2.0/repositories/some/repo/pullrequests/5/comments?pagelen=100')
@@ -48,11 +47,10 @@ describe('modules/platform/bitbucket/comments', () => {
           content: 'content',
         })
       ).toBeTrue();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('add updates comment if necessary', async () => {
-      expect.assertions(2);
+      expect.assertions(1);
       httpMock
         .scope(baseUrl)
         .get('/2.0/repositories/some/repo/pullrequests/5/comments?pagelen=100')
@@ -73,11 +71,10 @@ describe('modules/platform/bitbucket/comments', () => {
         content: 'some\ncontent',
       });
       expect(res).toBeTrue();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('skips comment', async () => {
-      expect.assertions(2);
+      expect.assertions(1);
       httpMock
         .scope(baseUrl)
         .get('/2.0/repositories/some/repo/pullrequests/5/comments?pagelen=100')
@@ -97,7 +94,6 @@ describe('modules/platform/bitbucket/comments', () => {
           content: 'blablabla',
         })
       ).toBeTrue();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 
@@ -108,12 +104,13 @@ describe('modules/platform/bitbucket/comments', () => {
         .scope(baseUrl)
         .get('/2.0/repositories/some/repo/pullrequests/5/comments?pagelen=100')
         .reply(200, { values: [] });
-      await comments.ensureCommentRemoval(config, {
-        type: 'by-topic',
-        number: 5,
-        topic: 'topic',
-      });
-      expect(httpMock.getTrace()).toMatchSnapshot();
+      await expect(
+        comments.ensureCommentRemoval(config, {
+          type: 'by-topic',
+          number: 5,
+          topic: 'topic',
+        })
+      ).toResolve();
     });
 
     it('deletes comment by topic if found', async () => {
@@ -132,12 +129,13 @@ describe('modules/platform/bitbucket/comments', () => {
         .delete('/2.0/repositories/some/repo/pullrequests/5/comments/5')
         .reply(200);
 
-      await comments.ensureCommentRemoval(config, {
-        type: 'by-topic',
-        number: 5,
-        topic: 'some-subject',
-      });
-      expect(httpMock.getTrace()).toMatchSnapshot();
+      await expect(
+        comments.ensureCommentRemoval(config, {
+          type: 'by-topic',
+          number: 5,
+          topic: 'some-subject',
+        })
+      ).toResolve();
     });
 
     it('deletes comment by content if found', async () => {
@@ -156,12 +154,13 @@ describe('modules/platform/bitbucket/comments', () => {
         .delete('/2.0/repositories/some/repo/pullrequests/5/comments/5')
         .reply(200);
 
-      await comments.ensureCommentRemoval(config, {
-        type: 'by-content',
-        number: 5,
-        content: 'some-content',
-      });
-      expect(httpMock.getTrace()).toMatchSnapshot();
+      await expect(
+        comments.ensureCommentRemoval(config, {
+          type: 'by-content',
+          number: 5,
+          content: 'some-content',
+        })
+      ).toResolve();
     });
 
     it('deletes nothing', async () => {
@@ -170,12 +169,14 @@ describe('modules/platform/bitbucket/comments', () => {
         .scope(baseUrl)
         .get('/2.0/repositories/some/repo/pullrequests/5/comments?pagelen=100')
         .reply(200, { values: [] });
-      await comments.ensureCommentRemoval(config, {
-        type: 'by-topic',
-        number: 5,
-        topic: 'topic',
-      });
-      expect(httpMock.getTrace()).toMatchSnapshot();
+
+      await expect(
+        comments.ensureCommentRemoval(config, {
+          type: 'by-content',
+          number: 5,
+          content: 'topic',
+        })
+      ).toResolve();
     });
   });
 });
diff --git a/lib/modules/platform/bitbucket/index.spec.ts b/lib/modules/platform/bitbucket/index.spec.ts
index ec795b5d8fa989f6003a62fd377803fbe87dbad7..6a8207a38c45e38e93889d1ed924581ec76e6fd8 100644
--- a/lib/modules/platform/bitbucket/index.spec.ts
+++ b/lib/modules/platform/bitbucket/index.spec.ts
@@ -113,7 +113,6 @@ describe('modules/platform/bitbucket/index', () => {
         });
       const res = await bitbucket.getRepos();
       expect(res).toEqual(['foo/bar', 'some/repo']);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 
@@ -128,7 +127,6 @@ describe('modules/platform/bitbucket/index', () => {
           repository: 'some/repo',
         })
       ).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 
@@ -151,7 +149,6 @@ describe('modules/platform/bitbucket/index', () => {
         .reply(200, pr);
 
       expect(await bitbucket.getBranchPr('branch')).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns null if no PR for branch', async () => {
       const scope = await initRepoMock();
@@ -163,7 +160,6 @@ describe('modules/platform/bitbucket/index', () => {
 
       const res = await bitbucket.getBranchPr('branch_without_pr');
       expect(res).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 
@@ -188,7 +184,6 @@ describe('modules/platform/bitbucket/index', () => {
           ],
         });
       expect(await bitbucket.getBranchStatus('master')).toBe(BranchStatus.red);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('getBranchStatus 4', async () => {
       const scope = await initRepoMock();
@@ -215,7 +210,6 @@ describe('modules/platform/bitbucket/index', () => {
       expect(await bitbucket.getBranchStatus('branch')).toBe(
         BranchStatus.green
       );
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('getBranchStatus 5', async () => {
       const scope = await initRepoMock();
@@ -242,7 +236,6 @@ describe('modules/platform/bitbucket/index', () => {
       expect(await bitbucket.getBranchStatus('pending/branch')).toBe(
         BranchStatus.yellow
       );
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('getBranchStatus 6', async () => {
       const scope = await initRepoMock();
@@ -266,7 +259,6 @@ describe('modules/platform/bitbucket/index', () => {
       expect(await bitbucket.getBranchStatus('branch-with-empty-status')).toBe(
         BranchStatus.yellow
       );
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 
@@ -293,17 +285,14 @@ describe('modules/platform/bitbucket/index', () => {
     });
     it('getBranchStatusCheck 1', async () => {
       expect(await bitbucket.getBranchStatusCheck('master', null)).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('getBranchStatusCheck 2', async () => {
       expect(await bitbucket.getBranchStatusCheck('master', 'foo')).toBe(
         BranchStatus.red
       );
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('getBranchStatusCheck 3', async () => {
       expect(await bitbucket.getBranchStatusCheck('master', 'bar')).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 
@@ -333,14 +322,15 @@ describe('modules/platform/bitbucket/index', () => {
             },
           ],
         });
-      await bitbucket.setBranchStatus({
-        branchName: 'branch',
-        context: 'context',
-        description: 'description',
-        state: BranchStatus.red,
-        url: 'targetUrl',
-      });
-      expect(httpMock.getTrace()).toMatchSnapshot();
+      await expect(
+        bitbucket.setBranchStatus({
+          branchName: 'branch',
+          context: 'context',
+          description: 'description',
+          state: BranchStatus.red,
+          url: 'targetUrl',
+        })
+      ).toResolve();
     });
   });
 
@@ -366,7 +356,6 @@ describe('modules/platform/bitbucket/index', () => {
           ],
         });
       expect(await bitbucket.findIssue('title')).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns null if no issues', async () => {
       const scope = await initRepoMock(
@@ -383,7 +372,6 @@ describe('modules/platform/bitbucket/index', () => {
           values: [],
         });
       expect(await bitbucket.findIssue('title')).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
   describe('ensureIssue()', () => {
@@ -414,7 +402,6 @@ describe('modules/platform/bitbucket/index', () => {
       expect(
         await bitbucket.ensureIssue({ title: 'title', body: 'body' })
       ).toBe('updated');
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('creates new issue', async () => {
       const scope = await initRepoMock(
@@ -439,7 +426,6 @@ describe('modules/platform/bitbucket/index', () => {
           body: 'body',
         })
       ).toBe('created');
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('noop for existing issue', async () => {
       const scope = await initRepoMock({}, { has_issues: true });
@@ -469,15 +455,13 @@ describe('modules/platform/bitbucket/index', () => {
           body: '\n content \n',
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 
   describe('ensureIssueClosing()', () => {
     it('does not throw', async () => {
       await initRepoMock();
-      await bitbucket.ensureIssueClosing('title');
-      expect(httpMock.getTrace()).toMatchSnapshot();
+      await expect(bitbucket.ensureIssueClosing('title')).toResolve();
     });
     it('closes issue', async () => {
       const scope = await initRepoMock({}, { has_issues: true });
@@ -503,16 +487,14 @@ describe('modules/platform/bitbucket/index', () => {
         .reply(200)
         .put('/2.0/repositories/some/repo/issues/26')
         .reply(200);
-      await bitbucket.ensureIssueClosing('title');
-      expect(httpMock.getTrace()).toMatchSnapshot();
+      await expect(bitbucket.ensureIssueClosing('title')).toResolve();
     });
   });
 
   describe('getIssueList()', () => {
     it('has no issues', async () => {
       await initRepoMock();
-      await bitbucket.getIssueList();
-      expect(httpMock.getTrace()).toMatchSnapshot();
+      expect(await bitbucket.getIssueList()).toEqual([]);
     });
     it('get issues', async () => {
       const scope = await initRepoMock({}, { has_issues: true });
@@ -536,7 +518,7 @@ describe('modules/platform/bitbucket/index', () => {
           ],
         });
       const issues = await bitbucket.getIssueList();
-      expect(httpMock.getTrace()).toMatchSnapshot();
+
       expect(issues).toHaveLength(2);
       expect(issues).toMatchSnapshot();
     });
@@ -549,7 +531,7 @@ describe('modules/platform/bitbucket/index', () => {
         })
         .reply(500, {});
       const issues = await bitbucket.getIssueList();
-      expect(httpMock.getTrace()).toMatchSnapshot();
+
       expect(issues).toHaveLength(0);
     });
   });
@@ -568,8 +550,9 @@ describe('modules/platform/bitbucket/index', () => {
         .reply(200, pr)
         .put('/2.0/repositories/some/repo/pullrequests/5')
         .reply(200);
-      await bitbucket.addReviewers(5, ['someuser', 'someotheruser']);
-      expect(httpMock.getTrace()).toMatchSnapshot();
+      await expect(
+        bitbucket.addReviewers(5, ['someuser', 'someotheruser'])
+      ).toResolve();
     });
   });
 
@@ -630,7 +613,6 @@ describe('modules/platform/bitbucket/index', () => {
           ],
         });
       expect(await bitbucket.getPrList()).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 
@@ -652,7 +634,6 @@ describe('modules/platform/bitbucket/index', () => {
           prTitle: 'title',
         })
       ).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 
@@ -676,7 +657,6 @@ describe('modules/platform/bitbucket/index', () => {
         },
       });
       expect(number).toBe(5);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('removes inactive reviewers when updating pr', async () => {
       const inactiveReviewer = {
@@ -893,11 +873,10 @@ describe('modules/platform/bitbucket/index', () => {
       const scope = await initRepoMock();
       scope.get('/2.0/repositories/some/repo/pullrequests/5').reply(200, pr);
       expect(await bitbucket.getPr(5)).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('canRebase', async () => {
-      expect.assertions(4);
+      expect.assertions(3);
       const scope = await initRepoMock();
       scope
         .get('/2.0/repositories/some/repo/pullrequests/3')
@@ -918,8 +897,6 @@ describe('modules/platform/bitbucket/index', () => {
       expect(await bitbucket.getPr(5)).toMatchSnapshot();
 
       expect(await bitbucket.getPr(5)).toMatchSnapshot();
-
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 
@@ -945,8 +922,9 @@ describe('modules/platform/bitbucket/index', () => {
         .reply(200, { reviewers: [reviewer] })
         .put('/2.0/repositories/some/repo/pullrequests/5')
         .reply(200);
-      await bitbucket.updatePr({ number: 5, prTitle: 'title', prBody: 'body' });
-      expect(httpMock.getTrace()).toMatchSnapshot();
+      await expect(
+        bitbucket.updatePr({ number: 5, prTitle: 'title', prBody: 'body' })
+      ).toResolve();
     });
     it('removes inactive reviewers when updating pr', async () => {
       const inactiveReviewer = {
@@ -983,8 +961,9 @@ describe('modules/platform/bitbucket/index', () => {
         })
         .put('/2.0/repositories/some/repo/pullrequests/5')
         .reply(200);
-      await bitbucket.updatePr({ number: 5, prTitle: 'title', prBody: 'body' });
-      expect(httpMock.getTrace()).toMatchSnapshot();
+      await expect(
+        bitbucket.updatePr({ number: 5, prTitle: 'title', prBody: 'body' })
+      ).toResolve();
     });
     it('removes reviewers no longer member of the workspace when updating pr', async () => {
       const notMemberReviewer = {
@@ -1024,13 +1003,10 @@ describe('modules/platform/bitbucket/index', () => {
         .reply(200)
         .put('/2.0/repositories/some/repo/pullrequests/5')
         .reply(200);
-      expect(
-        await bitbucket.updatePr({
-          number: 5,
-          prTitle: 'title',
-          prBody: 'body',
-        })
-      ).toBeUndefined();
+
+      await expect(
+        bitbucket.updatePr({ number: 5, prTitle: 'title', prBody: 'body' })
+      ).toResolve();
     });
     it('throws exception when unable to check reviewers workspace membership', async () => {
       const reviewer = {
@@ -1086,7 +1062,6 @@ describe('modules/platform/bitbucket/index', () => {
       await expect(() =>
         bitbucket.updatePr({ number: 5, prTitle: 'title', prBody: 'body' })
       ).rejects.toThrowErrorMatchingSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('rethrows exception when PR create error not due to reviewers field', async () => {
       const reviewer = {
@@ -1120,7 +1095,6 @@ describe('modules/platform/bitbucket/index', () => {
       await expect(() =>
         bitbucket.updatePr({ number: 5, prTitle: 'title', prBody: 'body' })
       ).rejects.toThrowErrorMatchingSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('closes PR', async () => {
       const scope = await initRepoMock();
@@ -1131,12 +1105,14 @@ describe('modules/platform/bitbucket/index', () => {
         .reply(200)
         .post('/2.0/repositories/some/repo/pullrequests/5/decline')
         .reply(200);
-      await bitbucket.updatePr({
-        number: pr.id,
-        prTitle: pr.title,
-        state: PrState.Closed,
-      });
-      expect(httpMock.getTrace()).toMatchSnapshot();
+
+      expect(
+        await bitbucket.updatePr({
+          number: pr.id,
+          prTitle: pr.title,
+          state: PrState.Closed,
+        })
+      ).toBeUndefined();
     });
   });
 
@@ -1144,44 +1120,48 @@ describe('modules/platform/bitbucket/index', () => {
     it('posts Merge with optional merge strategy', async () => {
       const scope = await initRepoMock();
       scope.post('/2.0/repositories/some/repo/pullrequests/5/merge').reply(200);
-      await bitbucket.mergePr({
-        branchName: 'branch',
-        id: 5,
-      });
-      expect(httpMock.getTrace()).toMatchSnapshot();
+      expect(
+        await bitbucket.mergePr({
+          branchName: 'branch',
+          id: 5,
+        })
+      ).toBeTrue();
     });
 
     it('posts Merge with auto', async () => {
       const scope = await initRepoMock();
       scope.post('/2.0/repositories/some/repo/pullrequests/5/merge').reply(200);
-      await bitbucket.mergePr({
-        branchName: 'branch',
-        id: 5,
-        strategy: 'auto',
-      });
-      expect(httpMock.getTrace()).toMatchSnapshot();
+      expect(
+        await bitbucket.mergePr({
+          branchName: 'branch',
+          id: 5,
+          strategy: 'auto',
+        })
+      ).toBeTrue();
     });
 
     it('posts Merge with merge-commit', async () => {
       const scope = await initRepoMock();
       scope.post('/2.0/repositories/some/repo/pullrequests/5/merge').reply(200);
-      await bitbucket.mergePr({
-        branchName: 'branch',
-        id: 5,
-        strategy: 'merge-commit',
-      });
-      expect(httpMock.getTrace()).toMatchSnapshot();
+      expect(
+        await bitbucket.mergePr({
+          branchName: 'branch',
+          id: 5,
+          strategy: 'merge-commit',
+        })
+      ).toBeTrue();
     });
 
     it('posts Merge with squash', async () => {
       const scope = await initRepoMock();
       scope.post('/2.0/repositories/some/repo/pullrequests/5/merge').reply(200);
-      await bitbucket.mergePr({
-        branchName: 'branch',
-        id: 5,
-        strategy: 'squash',
-      });
-      expect(httpMock.getTrace()).toMatchSnapshot();
+      expect(
+        await bitbucket.mergePr({
+          branchName: 'branch',
+          id: 5,
+          strategy: 'squash',
+        })
+      ).toBe(true);
     });
 
     it('does not post Merge with rebase', async () => {
@@ -1196,12 +1176,13 @@ describe('modules/platform/bitbucket/index', () => {
     it('posts Merge with fast-forward', async () => {
       const scope = await initRepoMock();
       scope.post('/2.0/repositories/some/repo/pullrequests/5/merge').reply(200);
-      await bitbucket.mergePr({
-        branchName: 'branch',
-        id: 5,
-        strategy: 'fast-forward',
-      });
-      expect(httpMock.getTrace()).toMatchSnapshot();
+      expect(
+        await bitbucket.mergePr({
+          branchName: 'branch',
+          id: 5,
+          strategy: 'fast-forward',
+        })
+      ).toBeTrue();
     });
   });
 
@@ -1220,7 +1201,6 @@ describe('modules/platform/bitbucket/index', () => {
         .reply(200, JSON.stringify(data));
       const res = await bitbucket.getJsonFile('file.json');
       expect(res).toEqual(data);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('returns file content in json5 format', async () => {
@@ -1236,7 +1216,6 @@ describe('modules/platform/bitbucket/index', () => {
         .reply(200, json5Data);
       const res = await bitbucket.getJsonFile('file.json5');
       expect(res).toEqual({ foo: 'bar' });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('returns file content from given repo', async () => {
@@ -1247,7 +1226,6 @@ describe('modules/platform/bitbucket/index', () => {
         .reply(200, JSON.stringify(data));
       const res = await bitbucket.getJsonFile('file.json', 'different/repo');
       expect(res).toEqual(data);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('returns file content from branch or tag', async () => {
@@ -1258,7 +1236,6 @@ describe('modules/platform/bitbucket/index', () => {
         .reply(200, JSON.stringify(data));
       const res = await bitbucket.getJsonFile('file.json', 'some/repo', 'dev');
       expect(res).toEqual(data);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('returns file content from branch with a slash in its name', async () => {
@@ -1276,7 +1253,6 @@ describe('modules/platform/bitbucket/index', () => {
         'feat/123-test'
       );
       expect(res).toEqual(data);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('throws on malformed JSON', async () => {
@@ -1285,7 +1261,6 @@ describe('modules/platform/bitbucket/index', () => {
         .get('/2.0/repositories/some/repo/src/HEAD/file.json')
         .reply(200, '!@#');
       await expect(bitbucket.getJsonFile('file.json')).rejects.toThrow();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('throws on errors', async () => {
       const scope = await initRepoMock();
@@ -1293,7 +1268,6 @@ describe('modules/platform/bitbucket/index', () => {
         .get('/2.0/repositories/some/repo/src/HEAD/file.json')
         .replyWithError('some error');
       await expect(bitbucket.getJsonFile('file.json')).rejects.toThrow();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 });
diff --git a/lib/modules/platform/bitbucket/utils.spec.ts b/lib/modules/platform/bitbucket/utils.spec.ts
index 6221754cc2b5d909583ce730cdb44ea0fb67e4d5..99b81a95af62512bf79621175f864f0ccb1bb20c 100644
--- a/lib/modules/platform/bitbucket/utils.spec.ts
+++ b/lib/modules/platform/bitbucket/utils.spec.ts
@@ -31,7 +31,5 @@ describe('modules/platform/bitbucket/utils', () => {
 
     const res = await utils.accumulateValues('some-url', 'get', null, 10);
     expect(res).toHaveLength(25);
-    expect(httpMock.getTrace()).toHaveLength(3);
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
 });
diff --git a/lib/modules/platform/gitea/__snapshots__/gitea-helper.spec.ts.snap b/lib/modules/platform/gitea/__snapshots__/gitea-helper.spec.ts.snap
deleted file mode 100644
index e9150e9b08fa97310194cab15bb875819c539992..0000000000000000000000000000000000000000
--- a/lib/modules/platform/gitea/__snapshots__/gitea-helper.spec.ts.snap
+++ /dev/null
@@ -1,858 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`modules/platform/gitea/gitea-helper addReviewers should call /api/v1/repos/[repo]/pulls/[pull]/requested_reviewers endpoint 1`] = `
-Array [
-  Object {
-    "body": Object {},
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "content-length": "2",
-      "content-type": "application/json",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://gitea.renovatebot.com/api/v1/repos/some/repo/pulls/13/requested_reviewers",
-  },
-]
-`;
-
-exports[`modules/platform/gitea/gitea-helper closeIssue should call /api/v1/repos/[repo]/issues/[issue] endpoint 1`] = `
-Array [
-  Object {
-    "body": Object {
-      "state": "closed",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "content-length": "18",
-      "content-type": "application/json",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PATCH",
-    "url": "https://gitea.renovatebot.com/api/v1/repos/some/repo/issues/7",
-  },
-]
-`;
-
-exports[`modules/platform/gitea/gitea-helper closePR should call /api/v1/repos/[repo]/pulls/[pull] endpoint 1`] = `
-Array [
-  Object {
-    "body": Object {
-      "state": "closed",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "content-length": "18",
-      "content-type": "application/json",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PATCH",
-    "url": "https://gitea.renovatebot.com/api/v1/repos/some/repo/pulls/13",
-  },
-]
-`;
-
-exports[`modules/platform/gitea/gitea-helper createComment should call /api/v1/repos/[repo]/issues/[issue]/comments endpoint 1`] = `
-Array [
-  Object {
-    "body": Object {
-      "body": "some-comment",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "content-length": "23",
-      "content-type": "application/json",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://gitea.renovatebot.com/api/v1/repos/some/repo/issues/7/comments",
-  },
-]
-`;
-
-exports[`modules/platform/gitea/gitea-helper createCommitStatus should call /api/v1/repos/[repo]/statuses/[commit] endpoint 1`] = `
-Array [
-  Object {
-    "body": Object {
-      "context": "some-context",
-      "description": "some-description",
-      "state": "success",
-      "target_url": "https://gitea.renovatebot.com/commit-status",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "content-length": "136",
-      "content-type": "application/json",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://gitea.renovatebot.com/api/v1/repos/some/repo/statuses/0d9c7726c3d628b7e28af234595cfd20febdbf8e",
-  },
-]
-`;
-
-exports[`modules/platform/gitea/gitea-helper createIssue should call /api/v1/repos/[repo]/issues endpoint 1`] = `
-Array [
-  Object {
-    "body": Object {
-      "assignees": Array [
-        "admin",
-      ],
-      "body": "just some issue",
-      "state": "open",
-      "title": "Some Issue",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "content-length": "84",
-      "content-type": "application/json",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://gitea.renovatebot.com/api/v1/repos/some/repo/issues",
-  },
-]
-`;
-
-exports[`modules/platform/gitea/gitea-helper createPR should call /api/v1/repos/[repo]/pulls endpoint 1`] = `
-Array [
-  Object {
-    "body": Object {
-      "assignees": Array [
-        "admin",
-      ],
-      "base": "master",
-      "body": "Lorem ipsum dolor sit amet",
-      "head": "pull-req-13",
-      "labels": Array [
-        100,
-      ],
-      "state": "open",
-      "title": "Some PR",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "content-length": "144",
-      "content-type": "application/json",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://gitea.renovatebot.com/api/v1/repos/some/repo/pulls",
-  },
-]
-`;
-
-exports[`modules/platform/gitea/gitea-helper deleteComment should call /api/v1/repos/[repo]/issues/comments/[comment] endpoint 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "DELETE",
-    "url": "https://gitea.renovatebot.com/api/v1/repos/some/repo/issues/comments/31",
-  },
-]
-`;
-
-exports[`modules/platform/gitea/gitea-helper getBranch should call /api/v1/repos/[repo]/branches/[branch] endpoint 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.renovatebot.com/api/v1/repos/some/repo/branches/some-branch",
-  },
-]
-`;
-
-exports[`modules/platform/gitea/gitea-helper getBranch should properly escape branch names 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.renovatebot.com/api/v1/repos/some/repo/branches/other%2Fbranch%2Fwith%2Fslashes",
-  },
-]
-`;
-
-exports[`modules/platform/gitea/gitea-helper getCombinedCommitStatus should call /api/v1/repos/[repo]/commits/[branch]/statuses endpoint 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.renovatebot.com/api/v1/repos/some/repo/commits/some-branch/statuses",
-  },
-]
-`;
-
-exports[`modules/platform/gitea/gitea-helper getCombinedCommitStatus should properly determine worst commit status 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.renovatebot.com/api/v1/repos/some/repo/commits/some-branch/statuses",
-  },
-]
-`;
-
-exports[`modules/platform/gitea/gitea-helper getCombinedCommitStatus should properly determine worst commit status 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.renovatebot.com/api/v1/repos/some/repo/commits/some-branch/statuses",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.renovatebot.com/api/v1/repos/some/repo/commits/some-branch/statuses",
-  },
-]
-`;
-
-exports[`modules/platform/gitea/gitea-helper getCombinedCommitStatus should properly determine worst commit status 3`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.renovatebot.com/api/v1/repos/some/repo/commits/some-branch/statuses",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.renovatebot.com/api/v1/repos/some/repo/commits/some-branch/statuses",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.renovatebot.com/api/v1/repos/some/repo/commits/some-branch/statuses",
-  },
-]
-`;
-
-exports[`modules/platform/gitea/gitea-helper getCombinedCommitStatus should properly determine worst commit status 4`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.renovatebot.com/api/v1/repos/some/repo/commits/some-branch/statuses",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.renovatebot.com/api/v1/repos/some/repo/commits/some-branch/statuses",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.renovatebot.com/api/v1/repos/some/repo/commits/some-branch/statuses",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.renovatebot.com/api/v1/repos/some/repo/commits/some-branch/statuses",
-  },
-]
-`;
-
-exports[`modules/platform/gitea/gitea-helper getCombinedCommitStatus should properly determine worst commit status 5`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.renovatebot.com/api/v1/repos/some/repo/commits/some-branch/statuses",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.renovatebot.com/api/v1/repos/some/repo/commits/some-branch/statuses",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.renovatebot.com/api/v1/repos/some/repo/commits/some-branch/statuses",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.renovatebot.com/api/v1/repos/some/repo/commits/some-branch/statuses",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.renovatebot.com/api/v1/repos/some/repo/commits/some-branch/statuses",
-  },
-]
-`;
-
-exports[`modules/platform/gitea/gitea-helper getCombinedCommitStatus should properly determine worst commit status 6`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.renovatebot.com/api/v1/repos/some/repo/commits/some-branch/statuses",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.renovatebot.com/api/v1/repos/some/repo/commits/some-branch/statuses",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.renovatebot.com/api/v1/repos/some/repo/commits/some-branch/statuses",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.renovatebot.com/api/v1/repos/some/repo/commits/some-branch/statuses",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.renovatebot.com/api/v1/repos/some/repo/commits/some-branch/statuses",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.renovatebot.com/api/v1/repos/some/repo/commits/some-branch/statuses",
-  },
-]
-`;
-
-exports[`modules/platform/gitea/gitea-helper getComments should call /api/v1/repos/[repo]/issues/[issue]/comments endpoint 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.renovatebot.com/api/v1/repos/some/repo/issues/7/comments",
-  },
-]
-`;
-
-exports[`modules/platform/gitea/gitea-helper getCurrentUser should call /api/v1/user endpoint 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.renovatebot.com/api/v1/user",
-  },
-]
-`;
-
-exports[`modules/platform/gitea/gitea-helper getIssue should call /api/v1/repos/[repo]/issues/[issue] endpoint 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.renovatebot.com/api/v1/repos/some/repo/issues/7",
-  },
-]
-`;
-
-exports[`modules/platform/gitea/gitea-helper getOrgLabels should call /api/v1/orgs/[org]/labels endpoint 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.renovatebot.com/api/v1/orgs/admin/labels",
-  },
-]
-`;
-
-exports[`modules/platform/gitea/gitea-helper getPR should call /api/v1/repos/[repo]/pulls/[pull] endpoint 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.renovatebot.com/api/v1/repos/some/repo/pulls/13",
-  },
-]
-`;
-
-exports[`modules/platform/gitea/gitea-helper getRepo should call /api/v1/repos/[repo] endpoint 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.renovatebot.com/api/v1/repos/some/repo",
-  },
-]
-`;
-
-exports[`modules/platform/gitea/gitea-helper getRepoContents should call /api/v1/repos/[repo]/contents/[file] endpoint 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.renovatebot.com/api/v1/repos/some/repo/contents/dummy.txt?",
-  },
-]
-`;
-
-exports[`modules/platform/gitea/gitea-helper getRepoContents should properly escape paths 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.renovatebot.com/api/v1/repos/some/repo/contents/nested%2Fpath%2Fdummy.txt?",
-  },
-]
-`;
-
-exports[`modules/platform/gitea/gitea-helper getRepoContents should support passing reference by query 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.renovatebot.com/api/v1/repos/some/repo/contents/dummy.txt?ref=0d9c7726c3d628b7e28af234595cfd20febdbf8e",
-  },
-]
-`;
-
-exports[`modules/platform/gitea/gitea-helper getRepoLabels should call /api/v1/repos/[repo]/labels endpoint 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.renovatebot.com/api/v1/repos/some/repo/labels",
-  },
-]
-`;
-
-exports[`modules/platform/gitea/gitea-helper getVersion should call /api/v1/version endpoint 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.renovatebot.com/api/v1/version",
-  },
-]
-`;
-
-exports[`modules/platform/gitea/gitea-helper mergePR should call /api/v1/repos/[repo]/pulls/[pull]/merge endpoint 1`] = `
-Array [
-  Object {
-    "body": Object {
-      "Do": "rebase",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "content-length": "15",
-      "content-type": "application/json",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://gitea.renovatebot.com/api/v1/repos/some/repo/pulls/13/merge",
-  },
-]
-`;
-
-exports[`modules/platform/gitea/gitea-helper searchIssues should call /api/v1/repos/[repo]/issues endpoint 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.renovatebot.com/api/v1/repos/some/repo/issues?type=issues",
-  },
-]
-`;
-
-exports[`modules/platform/gitea/gitea-helper searchIssues should construct proper query parameters 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.renovatebot.com/api/v1/repos/some/repo/issues?state=open&type=issues",
-  },
-]
-`;
-
-exports[`modules/platform/gitea/gitea-helper searchPRs should call /api/v1/repos/[repo]/pulls endpoint 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.renovatebot.com/api/v1/repos/some/repo/pulls?",
-  },
-]
-`;
-
-exports[`modules/platform/gitea/gitea-helper searchPRs should construct proper query parameters 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.renovatebot.com/api/v1/repos/some/repo/pulls?state=open&labels=100&labels=200",
-  },
-]
-`;
-
-exports[`modules/platform/gitea/gitea-helper searchRepos should abort if ok flag was not set 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.renovatebot.com/api/v1/repos/search?",
-  },
-]
-`;
-
-exports[`modules/platform/gitea/gitea-helper searchRepos should call /api/v1/repos/search endpoint 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.renovatebot.com/api/v1/repos/search?",
-  },
-]
-`;
-
-exports[`modules/platform/gitea/gitea-helper searchRepos should construct proper query parameters 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.renovatebot.com/api/v1/repos/search?uid=13&archived=false",
-  },
-]
-`;
-
-exports[`modules/platform/gitea/gitea-helper unassignLabel should call /api/v1/repos/[repo]/issues/[issue]/labels/[label] endpoint 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "DELETE",
-    "url": "https://gitea.renovatebot.com/api/v1/repos/some/repo/issues/7/labels/100",
-  },
-]
-`;
-
-exports[`modules/platform/gitea/gitea-helper updateComment should call /api/v1/repos/[repo]/issues/comments/[comment] endpoint 1`] = `
-Array [
-  Object {
-    "body": Object {
-      "body": "new-body",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "content-length": "19",
-      "content-type": "application/json",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PATCH",
-    "url": "https://gitea.renovatebot.com/api/v1/repos/some/repo/issues/comments/31",
-  },
-]
-`;
-
-exports[`modules/platform/gitea/gitea-helper updateIssue should call /api/v1/repos/[repo]/issues/[issue] endpoint 1`] = `
-Array [
-  Object {
-    "body": Object {
-      "assignees": Array [
-        "renovate",
-      ],
-      "body": "new-body",
-      "state": "closed",
-      "title": "new-title",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "content-length": "81",
-      "content-type": "application/json",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PATCH",
-    "url": "https://gitea.renovatebot.com/api/v1/repos/some/repo/issues/7",
-  },
-]
-`;
-
-exports[`modules/platform/gitea/gitea-helper updateIssueLabels should call /api/v1/repos/[repo]/issues/[issue]/labels endpoint 1`] = `
-Array [
-  Object {
-    "body": Object {
-      "labels": Array [
-        1,
-        3,
-      ],
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "content-length": "16",
-      "content-type": "application/json",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PUT",
-    "url": "https://gitea.renovatebot.com/api/v1/repos/some/repo/issues/7/labels",
-  },
-]
-`;
-
-exports[`modules/platform/gitea/gitea-helper updatePR should call /api/v1/repos/[repo]/pulls/[pull] endpoint 1`] = `
-Array [
-  Object {
-    "body": Object {
-      "assignees": Array [
-        "renovate",
-      ],
-      "body": "new-body",
-      "labels": Array [
-        200,
-      ],
-      "state": "closed",
-      "title": "new-title",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "content-length": "96",
-      "content-type": "application/json",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PATCH",
-    "url": "https://gitea.renovatebot.com/api/v1/repos/some/repo/pulls/13",
-  },
-]
-`;
diff --git a/lib/modules/platform/gitea/gitea-helper.spec.ts b/lib/modules/platform/gitea/gitea-helper.spec.ts
index 2e71c1d30fdaf04ab684cdd5d79fd6d1d1589bd4..c61e43b55f66924b77a10a0b7e38d75dee25abae 100644
--- a/lib/modules/platform/gitea/gitea-helper.spec.ts
+++ b/lib/modules/platform/gitea/gitea-helper.spec.ts
@@ -150,7 +150,6 @@ describe('modules/platform/gitea/gitea-helper', () => {
 
       const res = await ght.getCurrentUser();
       expect(res).toEqual(mockUser);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 
@@ -160,7 +159,7 @@ describe('modules/platform/gitea/gitea-helper', () => {
       httpMock.scope(baseUrl).get('/version').reply(200, { version });
 
       const res = await ght.getVersion();
-      expect(httpMock.getTrace()).toMatchSnapshot();
+
       expect(res).toEqual(version);
     });
   });
@@ -177,7 +176,6 @@ describe('modules/platform/gitea/gitea-helper', () => {
 
       const res = await ght.searchRepos({});
       expect(res).toEqual([mockRepo, otherMockRepo]);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('should construct proper query parameters', async () => {
@@ -194,7 +192,6 @@ describe('modules/platform/gitea/gitea-helper', () => {
         archived: false,
       });
       expect(res).toEqual([otherMockRepo]);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('should abort if ok flag was not set', async () => {
@@ -204,7 +201,6 @@ describe('modules/platform/gitea/gitea-helper', () => {
       });
 
       await expect(ght.searchRepos({})).rejects.toThrow();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 
@@ -217,7 +213,6 @@ describe('modules/platform/gitea/gitea-helper', () => {
 
       const res = await ght.getRepo(mockRepo.full_name);
       expect(res).toEqual(mockRepo);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 
@@ -235,7 +230,6 @@ describe('modules/platform/gitea/gitea-helper', () => {
         mockContents.path
       );
       expect(res).toEqual(mockContents);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('should support passing reference by query', async () => {
@@ -252,7 +246,6 @@ describe('modules/platform/gitea/gitea-helper', () => {
         mockCommitHash
       );
       expect(res).toEqual(mockContents);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('should properly escape paths', async () => {
@@ -268,7 +261,6 @@ describe('modules/platform/gitea/gitea-helper', () => {
         otherMockContents.path
       );
       expect(res).toEqual(otherMockContents);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('should not fail if no content is returned', async () => {
@@ -310,7 +302,6 @@ describe('modules/platform/gitea/gitea-helper', () => {
         labels: [mockLabel.id],
       });
       expect(res).toEqual(mockPR);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 
@@ -336,7 +327,6 @@ describe('modules/platform/gitea/gitea-helper', () => {
         labels: [otherMockLabel.id],
       });
       expect(res).toEqual(updatedMockPR);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 
@@ -349,7 +339,6 @@ describe('modules/platform/gitea/gitea-helper', () => {
 
       const res = await ght.closePR(mockRepo.full_name, mockPR.number);
       expect(res).toBeUndefined();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 
@@ -366,7 +355,6 @@ describe('modules/platform/gitea/gitea-helper', () => {
         'rebase'
       );
       expect(res).toBeUndefined();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 
@@ -379,7 +367,6 @@ describe('modules/platform/gitea/gitea-helper', () => {
 
       const res = await ght.getPR(mockRepo.full_name, mockPR.number);
       expect(res).toEqual(mockPR);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 
@@ -392,8 +379,9 @@ describe('modules/platform/gitea/gitea-helper', () => {
         )
         .reply(200);
 
-      await ght.requestPrReviewers(mockRepo.full_name, mockPR.number, {});
-      expect(httpMock.getTrace()).toMatchSnapshot();
+      await expect(
+        ght.requestPrReviewers(mockRepo.full_name, mockPR.number, {})
+      ).toResolve();
     });
   });
 
@@ -406,7 +394,6 @@ describe('modules/platform/gitea/gitea-helper', () => {
 
       const res = await ght.searchPRs(mockRepo.full_name, {});
       expect(res).toEqual([mockPR]);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('should construct proper query parameters', async () => {
@@ -422,7 +409,6 @@ describe('modules/platform/gitea/gitea-helper', () => {
         labels: [mockLabel.id, otherMockLabel.id],
       });
       expect(res).toEqual([mockPR]);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 
@@ -440,7 +426,6 @@ describe('modules/platform/gitea/gitea-helper', () => {
         assignees: [mockUser.username],
       });
       expect(res).toEqual(mockIssue);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 
@@ -466,7 +451,6 @@ describe('modules/platform/gitea/gitea-helper', () => {
         assignees: [otherMockUser.username],
       });
       expect(res).toEqual(updatedMockIssue);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 
@@ -490,7 +474,6 @@ describe('modules/platform/gitea/gitea-helper', () => {
         }
       );
       expect(res).toEqual(updatedMockLabels);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 
@@ -503,7 +486,6 @@ describe('modules/platform/gitea/gitea-helper', () => {
 
       const res = await ght.closeIssue(mockRepo.full_name, mockIssue.number);
       expect(res).toBeUndefined();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 
@@ -516,7 +498,6 @@ describe('modules/platform/gitea/gitea-helper', () => {
 
       const res = await ght.searchIssues(mockRepo.full_name, {});
       expect(res).toEqual([mockIssue]);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('should construct proper query parameters', async () => {
@@ -529,7 +510,6 @@ describe('modules/platform/gitea/gitea-helper', () => {
         state: 'open',
       });
       expect(res).toEqual([mockIssue]);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 
@@ -542,7 +522,6 @@ describe('modules/platform/gitea/gitea-helper', () => {
 
       const res = await ght.getIssue(mockRepo.full_name, mockIssue.number);
       expect(res).toEqual(mockIssue);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 
@@ -555,7 +534,6 @@ describe('modules/platform/gitea/gitea-helper', () => {
 
       const res = await ght.getRepoLabels(mockRepo.full_name);
       expect(res).toEqual([mockLabel, otherMockLabel]);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 
@@ -568,7 +546,6 @@ describe('modules/platform/gitea/gitea-helper', () => {
 
       const res = await ght.getOrgLabels(mockRepo.owner.username);
       expect(res).toEqual([mockLabel, otherMockLabel]);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 
@@ -587,7 +564,6 @@ describe('modules/platform/gitea/gitea-helper', () => {
         mockLabel.id
       );
       expect(res).toBeUndefined();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 
@@ -606,7 +582,6 @@ describe('modules/platform/gitea/gitea-helper', () => {
         mockComment.body
       );
       expect(res).toEqual(mockComment);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 
@@ -628,7 +603,6 @@ describe('modules/platform/gitea/gitea-helper', () => {
         'new-body'
       );
       expect(res).toEqual(updatedMockComment);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 
@@ -643,7 +617,6 @@ describe('modules/platform/gitea/gitea-helper', () => {
 
       const res = await ght.deleteComment(mockRepo.full_name, mockComment.id);
       expect(res).toBeUndefined();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 
@@ -656,7 +629,6 @@ describe('modules/platform/gitea/gitea-helper', () => {
 
       const res = await ght.getComments(mockRepo.full_name, mockIssue.number);
       expect(res).toEqual([mockComment]);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 
@@ -678,7 +650,6 @@ describe('modules/platform/gitea/gitea-helper', () => {
         }
       );
       expect(res).toEqual(mockCommitStatus);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 
@@ -695,7 +666,6 @@ describe('modules/platform/gitea/gitea-helper', () => {
       );
       expect(res.worstStatus).not.toBe('unknown');
       expect(res.statuses).toEqual([mockCommitStatus, otherMockCommitStatus]);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('should properly determine worst commit status', async () => {
@@ -762,7 +732,6 @@ describe('modules/platform/gitea/gitea-helper', () => {
           mockBranch.name
         );
         expect(res.worstStatus).toEqual(expected);
-        expect(httpMock.getTrace()).toMatchSnapshot();
       }
     });
   });
@@ -776,7 +745,6 @@ describe('modules/platform/gitea/gitea-helper', () => {
 
       const res = await ght.getBranch(mockRepo.full_name, mockBranch.name);
       expect(res).toEqual(mockBranch);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('should properly escape branch names', async () => {
@@ -789,7 +757,6 @@ describe('modules/platform/gitea/gitea-helper', () => {
 
       const res = await ght.getBranch(mockRepo.full_name, otherMockBranch.name);
       expect(res).toEqual(otherMockBranch);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 });
diff --git a/lib/modules/platform/github/__snapshots__/index.spec.ts.snap b/lib/modules/platform/github/__snapshots__/index.spec.ts.snap
index 50b315cd0e08ae18a0644f6fbf3cf15a9cc78aa0..b117d19bd7ae69a1f936616b3e5cd80cd7bdb65c 100644
--- a/lib/modules/platform/github/__snapshots__/index.spec.ts.snap
+++ b/lib/modules/platform/github/__snapshots__/index.spec.ts.snap
@@ -1,2935 +1,5 @@
 // Jest Snapshot v1, https://goo.gl/fbAQLP
 
-exports[`modules/platform/github/index addAssignees(issueNo, assignees) should add the given assignees to the issue 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "body": Object {
-      "assignees": Array [
-        "someuser",
-        "someotheruser",
-      ],
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "42",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/repos/some/repo/issues/42/assignees",
-  },
-]
-`;
-
-exports[`modules/platform/github/index addReviewers(issueNo, reviewers) should add the given reviewers to the PR 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "body": Object {
-      "reviewers": Array [
-        "someuser",
-        "someotheruser",
-      ],
-      "team_reviewers": Array [
-        "someteam",
-      ],
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "72",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/repos/some/repo/pulls/42/requested_reviewers",
-  },
-]
-`;
-
-exports[`modules/platform/github/index createPr() should create a draftPR if set in the settings 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "body": Object {
-      "base": "master",
-      "body": "This is a result of a draft",
-      "draft": true,
-      "head": "some:some-branch",
-      "title": "PR draft",
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "112",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/repos/some/repo/pulls",
-  },
-]
-`;
-
-exports[`modules/platform/github/index createPr() should create and return a PR object 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "body": Object {
-      "base": "dev",
-      "body": "Hello world",
-      "draft": false,
-      "head": "some:some-branch",
-      "title": "The Title",
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "95",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/repos/some/repo/pulls",
-  },
-  Object {
-    "body": Array [
-      "deps",
-      "renovate",
-    ],
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "19",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/repos/some/repo/issues/123/labels",
-  },
-]
-`;
-
-exports[`modules/platform/github/index createPr() should use defaultBranch 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "body": Object {
-      "base": "master",
-      "body": "Hello world",
-      "draft": false,
-      "head": "some:some-branch",
-      "title": "The Title",
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "98",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/repos/some/repo/pulls",
-  },
-]
-`;
-
-exports[`modules/platform/github/index deleteLabel(issueNo, label) should delete the label 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "DELETE",
-    "url": "https://api.github.com/repos/some/repo/issues/42/labels/rebase",
-  },
-]
-`;
-
-exports[`modules/platform/github/index ensureComment add comment if not found 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/issues/42/comments?per_page=100",
-  },
-  Object {
-    "body": Object {
-      "body": "### some-subject
-
-some
-content",
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "44",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/repos/some/repo/issues/42/comments",
-  },
-]
-`;
-
-exports[`modules/platform/github/index ensureComment add updates comment if necessary 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/issues/42/comments?per_page=100",
-  },
-  Object {
-    "body": Object {
-      "body": "### some-subject
-
-some
-content",
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "44",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PATCH",
-    "url": "https://api.github.com/repos/some/repo/issues/comments/1234",
-  },
-]
-`;
-
-exports[`modules/platform/github/index ensureComment adds comment if found in closed PR list 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$count": "Int",
-          "$cursor": "String",
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "pullRequests": Object {
-            "__args": Object {
-              "after": "$cursor",
-              "first": "$count",
-              "orderBy": Object {
-                "direction": "DESC",
-                "field": "UPDATED_AT",
-              },
-              "states": Array [
-                "CLOSED",
-                "MERGED",
-              ],
-            },
-            "nodes": Object {
-              "comments": Object {
-                "__args": Object {
-                  "last": "100",
-                },
-                "nodes": Object {
-                  "body": null,
-                  "databaseId": null,
-                },
-              },
-              "headRefName": null,
-              "number": null,
-              "state": null,
-              "title": null,
-            },
-            "pageInfo": Object {
-              "endCursor": null,
-              "hasNextPage": null,
-            },
-          },
-        },
-      },
-      "variables": Object {
-        "count": 100,
-        "cursor": null,
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "674",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "body": Object {
-      "body": "### some-subject
-
-some
-content",
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "44",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/repos/some/repo/issues/2499/comments",
-  },
-]
-`;
-
-exports[`modules/platform/github/index ensureComment handles comment with no description 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/issues/42/comments?per_page=100",
-  },
-]
-`;
-
-exports[`modules/platform/github/index ensureComment skips comment 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/issues/42/comments?per_page=100",
-  },
-]
-`;
-
-exports[`modules/platform/github/index ensureCommentRemoval deletes comment by content if found 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/issues/42/comments?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "DELETE",
-    "url": "https://api.github.com/repos/some/repo/issues/comments/1234",
-  },
-]
-`;
-
-exports[`modules/platform/github/index ensureCommentRemoval deletes comment by topic if found 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/issues/42/comments?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "DELETE",
-    "url": "https://api.github.com/repos/some/repo/issues/comments/1234",
-  },
-]
-`;
-
-exports[`modules/platform/github/index ensureIssue() closes others if ensuring only once 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$count": "Int",
-          "$cursor": "String",
-          "$name": "String!",
-          "$owner": "String!",
-          "$user": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "issues": Object {
-            "__args": Object {
-              "after": "$cursor",
-              "filterBy": Object {
-                "createdBy": "$user",
-              },
-              "first": "$count",
-              "orderBy": Object {
-                "direction": "DESC",
-                "field": "UPDATED_AT",
-              },
-            },
-            "nodes": Object {
-              "body": null,
-              "number": null,
-              "state": null,
-              "title": null,
-            },
-            "pageInfo": Object {
-              "endCursor": null,
-              "hasNextPage": null,
-            },
-          },
-        },
-      },
-      "variables": Object {
-        "count": 100,
-        "cursor": null,
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "560",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/issues/3",
-  },
-]
-`;
-
-exports[`modules/platform/github/index ensureIssue() creates issue 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$count": "Int",
-          "$cursor": "String",
-          "$name": "String!",
-          "$owner": "String!",
-          "$user": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "issues": Object {
-            "__args": Object {
-              "after": "$cursor",
-              "filterBy": Object {
-                "createdBy": "$user",
-              },
-              "first": "$count",
-              "orderBy": Object {
-                "direction": "DESC",
-                "field": "UPDATED_AT",
-              },
-            },
-            "nodes": Object {
-              "body": null,
-              "number": null,
-              "state": null,
-              "title": null,
-            },
-            "pageInfo": Object {
-              "endCursor": null,
-              "hasNextPage": null,
-            },
-          },
-        },
-      },
-      "variables": Object {
-        "count": 100,
-        "cursor": null,
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "560",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "body": Object {
-      "body": "new-content",
-      "labels": Array [],
-      "title": "new-title",
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "54",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/repos/some/repo/issues",
-  },
-]
-`;
-
-exports[`modules/platform/github/index ensureIssue() creates issue if not ensuring only once 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$count": "Int",
-          "$cursor": "String",
-          "$name": "String!",
-          "$owner": "String!",
-          "$user": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "issues": Object {
-            "__args": Object {
-              "after": "$cursor",
-              "filterBy": Object {
-                "createdBy": "$user",
-              },
-              "first": "$count",
-              "orderBy": Object {
-                "direction": "DESC",
-                "field": "UPDATED_AT",
-              },
-            },
-            "nodes": Object {
-              "body": null,
-              "number": null,
-              "state": null,
-              "title": null,
-            },
-            "pageInfo": Object {
-              "endCursor": null,
-              "hasNextPage": null,
-            },
-          },
-        },
-      },
-      "variables": Object {
-        "count": 100,
-        "cursor": null,
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "560",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/issues/1",
-  },
-]
-`;
-
-exports[`modules/platform/github/index ensureIssue() creates issue if reopen flag false and issue is not open 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$count": "Int",
-          "$cursor": "String",
-          "$name": "String!",
-          "$owner": "String!",
-          "$user": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "issues": Object {
-            "__args": Object {
-              "after": "$cursor",
-              "filterBy": Object {
-                "createdBy": "$user",
-              },
-              "first": "$count",
-              "orderBy": Object {
-                "direction": "DESC",
-                "field": "UPDATED_AT",
-              },
-            },
-            "nodes": Object {
-              "body": null,
-              "number": null,
-              "state": null,
-              "title": null,
-            },
-            "pageInfo": Object {
-              "endCursor": null,
-              "hasNextPage": null,
-            },
-          },
-        },
-      },
-      "variables": Object {
-        "count": 100,
-        "cursor": null,
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "560",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/issues/2",
-  },
-  Object {
-    "body": Object {
-      "body": "new-content",
-      "labels": Array [],
-      "title": "title-2",
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "52",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/repos/some/repo/issues",
-  },
-]
-`;
-
-exports[`modules/platform/github/index ensureIssue() creates issue with labels 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$count": "Int",
-          "$cursor": "String",
-          "$name": "String!",
-          "$owner": "String!",
-          "$user": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "issues": Object {
-            "__args": Object {
-              "after": "$cursor",
-              "filterBy": Object {
-                "createdBy": "$user",
-              },
-              "first": "$count",
-              "orderBy": Object {
-                "direction": "DESC",
-                "field": "UPDATED_AT",
-              },
-            },
-            "nodes": Object {
-              "body": null,
-              "number": null,
-              "state": null,
-              "title": null,
-            },
-            "pageInfo": Object {
-              "endCursor": null,
-              "hasNextPage": null,
-            },
-          },
-        },
-      },
-      "variables": Object {
-        "count": 100,
-        "cursor": null,
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "560",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "body": Object {
-      "body": "new-content",
-      "labels": Array [
-        "Renovate",
-        "Maintenance",
-      ],
-      "title": "new-title",
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "78",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/repos/some/repo/issues",
-  },
-]
-`;
-
-exports[`modules/platform/github/index ensureIssue() deletes if duplicate 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$count": "Int",
-          "$cursor": "String",
-          "$name": "String!",
-          "$owner": "String!",
-          "$user": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "issues": Object {
-            "__args": Object {
-              "after": "$cursor",
-              "filterBy": Object {
-                "createdBy": "$user",
-              },
-              "first": "$count",
-              "orderBy": Object {
-                "direction": "DESC",
-                "field": "UPDATED_AT",
-              },
-            },
-            "nodes": Object {
-              "body": null,
-              "number": null,
-              "state": null,
-              "title": null,
-            },
-            "pageInfo": Object {
-              "endCursor": null,
-              "hasNextPage": null,
-            },
-          },
-        },
-      },
-      "variables": Object {
-        "count": 100,
-        "cursor": null,
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "560",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "body": Object {
-      "state": "closed",
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "18",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PATCH",
-    "url": "https://api.github.com/repos/some/repo/issues/1",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/issues/2",
-  },
-]
-`;
-
-exports[`modules/platform/github/index ensureIssue() does not create issue if ensuring only once 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$count": "Int",
-          "$cursor": "String",
-          "$name": "String!",
-          "$owner": "String!",
-          "$user": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "issues": Object {
-            "__args": Object {
-              "after": "$cursor",
-              "filterBy": Object {
-                "createdBy": "$user",
-              },
-              "first": "$count",
-              "orderBy": Object {
-                "direction": "DESC",
-                "field": "UPDATED_AT",
-              },
-            },
-            "nodes": Object {
-              "body": null,
-              "number": null,
-              "state": null,
-              "title": null,
-            },
-            "pageInfo": Object {
-              "endCursor": null,
-              "hasNextPage": null,
-            },
-          },
-        },
-      },
-      "variables": Object {
-        "count": 100,
-        "cursor": null,
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "560",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-]
-`;
-
-exports[`modules/platform/github/index ensureIssue() does not create issue if reopen flag false and issue is already open 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$count": "Int",
-          "$cursor": "String",
-          "$name": "String!",
-          "$owner": "String!",
-          "$user": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "issues": Object {
-            "__args": Object {
-              "after": "$cursor",
-              "filterBy": Object {
-                "createdBy": "$user",
-              },
-              "first": "$count",
-              "orderBy": Object {
-                "direction": "DESC",
-                "field": "UPDATED_AT",
-              },
-            },
-            "nodes": Object {
-              "body": null,
-              "number": null,
-              "state": null,
-              "title": null,
-            },
-            "pageInfo": Object {
-              "endCursor": null,
-              "hasNextPage": null,
-            },
-          },
-        },
-      },
-      "variables": Object {
-        "count": 100,
-        "cursor": null,
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "560",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/issues/2",
-  },
-]
-`;
-
-exports[`modules/platform/github/index ensureIssue() skips update if unchanged 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$count": "Int",
-          "$cursor": "String",
-          "$name": "String!",
-          "$owner": "String!",
-          "$user": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "issues": Object {
-            "__args": Object {
-              "after": "$cursor",
-              "filterBy": Object {
-                "createdBy": "$user",
-              },
-              "first": "$count",
-              "orderBy": Object {
-                "direction": "DESC",
-                "field": "UPDATED_AT",
-              },
-            },
-            "nodes": Object {
-              "body": null,
-              "number": null,
-              "state": null,
-              "title": null,
-            },
-            "pageInfo": Object {
-              "endCursor": null,
-              "hasNextPage": null,
-            },
-          },
-        },
-      },
-      "variables": Object {
-        "count": 100,
-        "cursor": null,
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "560",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/issues/2",
-  },
-]
-`;
-
-exports[`modules/platform/github/index ensureIssue() updates issue 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$count": "Int",
-          "$cursor": "String",
-          "$name": "String!",
-          "$owner": "String!",
-          "$user": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "issues": Object {
-            "__args": Object {
-              "after": "$cursor",
-              "filterBy": Object {
-                "createdBy": "$user",
-              },
-              "first": "$count",
-              "orderBy": Object {
-                "direction": "DESC",
-                "field": "UPDATED_AT",
-              },
-            },
-            "nodes": Object {
-              "body": null,
-              "number": null,
-              "state": null,
-              "title": null,
-            },
-            "pageInfo": Object {
-              "endCursor": null,
-              "hasNextPage": null,
-            },
-          },
-        },
-      },
-      "variables": Object {
-        "count": 100,
-        "cursor": null,
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "560",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/issues/2",
-  },
-  Object {
-    "body": Object {
-      "body": "newer-content",
-      "state": "open",
-      "title": "title-3",
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "57",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PATCH",
-    "url": "https://api.github.com/repos/some/repo/issues/2",
-  },
-]
-`;
-
-exports[`modules/platform/github/index ensureIssue() updates issue with labels 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$count": "Int",
-          "$cursor": "String",
-          "$name": "String!",
-          "$owner": "String!",
-          "$user": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "issues": Object {
-            "__args": Object {
-              "after": "$cursor",
-              "filterBy": Object {
-                "createdBy": "$user",
-              },
-              "first": "$count",
-              "orderBy": Object {
-                "direction": "DESC",
-                "field": "UPDATED_AT",
-              },
-            },
-            "nodes": Object {
-              "body": null,
-              "number": null,
-              "state": null,
-              "title": null,
-            },
-            "pageInfo": Object {
-              "endCursor": null,
-              "hasNextPage": null,
-            },
-          },
-        },
-      },
-      "variables": Object {
-        "count": 100,
-        "cursor": null,
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "560",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/issues/2",
-  },
-  Object {
-    "body": Object {
-      "body": "newer-content",
-      "labels": Array [
-        "Renovate",
-        "Maintenance",
-      ],
-      "state": "open",
-      "title": "title-3",
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "93",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PATCH",
-    "url": "https://api.github.com/repos/some/repo/issues/2",
-  },
-]
-`;
-
-exports[`modules/platform/github/index ensureIssueClosing() closes issue 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$count": "Int",
-          "$cursor": "String",
-          "$name": "String!",
-          "$owner": "String!",
-          "$user": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "issues": Object {
-            "__args": Object {
-              "after": "$cursor",
-              "filterBy": Object {
-                "createdBy": "$user",
-              },
-              "first": "$count",
-              "orderBy": Object {
-                "direction": "DESC",
-                "field": "UPDATED_AT",
-              },
-            },
-            "nodes": Object {
-              "body": null,
-              "number": null,
-              "state": null,
-              "title": null,
-            },
-            "pageInfo": Object {
-              "endCursor": null,
-              "hasNextPage": null,
-            },
-          },
-        },
-      },
-      "variables": Object {
-        "count": 100,
-        "cursor": null,
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "531",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "body": Object {
-      "state": "closed",
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "18",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PATCH",
-    "url": "https://api.github.com/repos/undefined/issues/2",
-  },
-]
-`;
-
-exports[`modules/platform/github/index findIssue() finds issue 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$count": "Int",
-          "$cursor": "String",
-          "$name": "String!",
-          "$owner": "String!",
-          "$user": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "issues": Object {
-            "__args": Object {
-              "after": "$cursor",
-              "filterBy": Object {
-                "createdBy": "$user",
-              },
-              "first": "$count",
-              "orderBy": Object {
-                "direction": "DESC",
-                "field": "UPDATED_AT",
-              },
-            },
-            "nodes": Object {
-              "body": null,
-              "number": null,
-              "state": null,
-              "title": null,
-            },
-            "pageInfo": Object {
-              "endCursor": null,
-              "hasNextPage": null,
-            },
-          },
-        },
-      },
-      "variables": Object {
-        "count": 100,
-        "cursor": null,
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "531",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/undefined/issues/2",
-  },
-]
-`;
-
-exports[`modules/platform/github/index findIssue() returns null if no issue 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$count": "Int",
-          "$cursor": "String",
-          "$name": "String!",
-          "$owner": "String!",
-          "$user": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "issues": Object {
-            "__args": Object {
-              "after": "$cursor",
-              "filterBy": Object {
-                "createdBy": "$user",
-              },
-              "first": "$count",
-              "orderBy": Object {
-                "direction": "DESC",
-                "field": "UPDATED_AT",
-              },
-            },
-            "nodes": Object {
-              "body": null,
-              "number": null,
-              "state": null,
-              "title": null,
-            },
-            "pageInfo": Object {
-              "endCursor": null,
-              "hasNextPage": null,
-            },
-          },
-        },
-      },
-      "variables": Object {
-        "count": 100,
-        "cursor": null,
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "531",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-]
-`;
-
-exports[`modules/platform/github/index findPr(branchName, prTitle, state) caches pr list 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/undefined/pulls?per_page=100&state=all",
-  },
-]
-`;
-
-exports[`modules/platform/github/index findPr(branchName, prTitle, state) returns true if no title and all state 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/pulls?per_page=100&state=all",
-  },
-]
-`;
-
-exports[`modules/platform/github/index findPr(branchName, prTitle, state) returns true if not open 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/undefined/pulls?per_page=100&state=all",
-  },
-]
-`;
-
-exports[`modules/platform/github/index getBranchPr(branchName) aborts reopen if PR is too old 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/pulls?per_page=100&state=all",
-  },
-]
-`;
-
-exports[`modules/platform/github/index getBranchPr(branchName) aborts reopening if PR reopening fails 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/pulls?per_page=100&state=all",
-  },
-  Object {
-    "body": Object {
-      "ref": "refs/heads/somebranch",
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "31",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/repos/some/repo/git/refs",
-  },
-]
-`;
-
-exports[`modules/platform/github/index getBranchPr(branchName) aborts reopening if branch recreation fails 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/pulls?per_page=100&state=all",
-  },
-  Object {
-    "body": Object {
-      "ref": "refs/heads/somebranch",
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "31",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/repos/some/repo/git/refs",
-  },
-  Object {
-    "body": Object {
-      "state": "open",
-      "title": "old title",
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "36",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PATCH",
-    "url": "https://api.github.com/repos/some/repo/pulls/91",
-  },
-]
-`;
-
 exports[`modules/platform/github/index getBranchPr(branchName) should reopen an autoclosed PR 1`] = `
 Object {
   "displayNumber": "Pull Request #91",
@@ -2941,313 +11,6 @@ Object {
 }
 `;
 
-exports[`modules/platform/github/index getBranchPr(branchName) should reopen an autoclosed PR 2`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/pulls?per_page=100&state=all",
-  },
-  Object {
-    "body": Object {
-      "ref": "refs/heads/somebranch",
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "31",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/repos/some/repo/git/refs",
-  },
-  Object {
-    "body": Object {
-      "state": "open",
-      "title": "old title",
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "36",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PATCH",
-    "url": "https://api.github.com/repos/some/repo/pulls/91",
-  },
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$count": "Int",
-          "$cursor": "String",
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "pullRequests": Object {
-            "__args": Object {
-              "after": "$cursor",
-              "first": "$count",
-              "orderBy": Object {
-                "direction": "DESC",
-                "field": "UPDATED_AT",
-              },
-              "states": Array [
-                "OPEN",
-              ],
-            },
-            "nodes": Object {
-              "assignees": Object {
-                "totalCount": null,
-              },
-              "baseRefName": null,
-              "body": null,
-              "headRefName": null,
-              "labels": Object {
-                "__args": Object {
-                  "last": "100",
-                },
-                "nodes": Object {
-                  "name": null,
-                },
-              },
-              "number": null,
-              "reviewRequests": Object {
-                "totalCount": null,
-              },
-              "title": null,
-            },
-            "pageInfo": Object {
-              "endCursor": null,
-              "hasNextPage": null,
-            },
-          },
-        },
-      },
-      "variables": Object {
-        "count": 100,
-        "cursor": null,
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.merge-info-preview+json, application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "771",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$count": "Int",
-          "$cursor": "String",
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "pullRequests": Object {
-            "__args": Object {
-              "after": "$cursor",
-              "first": "$count",
-              "orderBy": Object {
-                "direction": "DESC",
-                "field": "UPDATED_AT",
-              },
-              "states": Array [
-                "CLOSED",
-                "MERGED",
-              ],
-            },
-            "nodes": Object {
-              "comments": Object {
-                "__args": Object {
-                  "last": "100",
-                },
-                "nodes": Object {
-                  "body": null,
-                  "databaseId": null,
-                },
-              },
-              "headRefName": null,
-              "number": null,
-              "state": null,
-              "title": null,
-            },
-            "pageInfo": Object {
-              "endCursor": null,
-              "hasNextPage": null,
-            },
-          },
-        },
-      },
-      "variables": Object {
-        "count": 100,
-        "cursor": null,
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "674",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/pulls/91",
-  },
-]
-`;
-
-exports[`modules/platform/github/index getBranchPr(branchName) should return null if no PR exists 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/pulls?per_page=100&state=all",
-  },
-]
-`;
-
 exports[`modules/platform/github/index getBranchPr(branchName) should return the PR object 1`] = `
 Object {
   "displayNumber": "Pull Request #91",
@@ -3259,219 +22,6 @@ Object {
 }
 `;
 
-exports[`modules/platform/github/index getBranchPr(branchName) should return the PR object 2`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/pulls?per_page=100&state=all",
-  },
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$count": "Int",
-          "$cursor": "String",
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "pullRequests": Object {
-            "__args": Object {
-              "after": "$cursor",
-              "first": "$count",
-              "orderBy": Object {
-                "direction": "DESC",
-                "field": "UPDATED_AT",
-              },
-              "states": Array [
-                "OPEN",
-              ],
-            },
-            "nodes": Object {
-              "assignees": Object {
-                "totalCount": null,
-              },
-              "baseRefName": null,
-              "body": null,
-              "headRefName": null,
-              "labels": Object {
-                "__args": Object {
-                  "last": "100",
-                },
-                "nodes": Object {
-                  "name": null,
-                },
-              },
-              "number": null,
-              "reviewRequests": Object {
-                "totalCount": null,
-              },
-              "title": null,
-            },
-            "pageInfo": Object {
-              "endCursor": null,
-              "hasNextPage": null,
-            },
-          },
-        },
-      },
-      "variables": Object {
-        "count": 100,
-        "cursor": null,
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.merge-info-preview+json, application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "771",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$count": "Int",
-          "$cursor": "String",
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "pullRequests": Object {
-            "__args": Object {
-              "after": "$cursor",
-              "first": "$count",
-              "orderBy": Object {
-                "direction": "DESC",
-                "field": "UPDATED_AT",
-              },
-              "states": Array [
-                "CLOSED",
-                "MERGED",
-              ],
-            },
-            "nodes": Object {
-              "comments": Object {
-                "__args": Object {
-                  "last": "100",
-                },
-                "nodes": Object {
-                  "body": null,
-                  "databaseId": null,
-                },
-              },
-              "headRefName": null,
-              "number": null,
-              "state": null,
-              "title": null,
-            },
-            "pageInfo": Object {
-              "endCursor": null,
-              "hasNextPage": null,
-            },
-          },
-        },
-      },
-      "variables": Object {
-        "count": 100,
-        "cursor": null,
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "674",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/pulls/91",
-  },
-]
-`;
-
 exports[`modules/platform/github/index getBranchPr(branchName) should return the PR object in fork mode 1`] = `
 Object {
   "displayNumber": "Pull Request #90",
@@ -3483,1228 +33,6 @@ Object {
 }
 `;
 
-exports[`modules/platform/github/index getBranchPr(branchName) should return the PR object in fork mode 2`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/user/repos?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/repos/some/repo/forks",
-  },
-  Object {
-    "body": Object {
-      "force": true,
-      "sha": "1234",
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "27",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PATCH",
-    "url": "https://api.github.com/repos/forked/repo/git/refs/heads/master",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/pulls?per_page=100&state=all",
-  },
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$count": "Int",
-          "$cursor": "String",
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "pullRequests": Object {
-            "__args": Object {
-              "after": "$cursor",
-              "first": "$count",
-              "orderBy": Object {
-                "direction": "DESC",
-                "field": "UPDATED_AT",
-              },
-              "states": Array [
-                "OPEN",
-              ],
-            },
-            "nodes": Object {
-              "assignees": Object {
-                "totalCount": null,
-              },
-              "baseRefName": null,
-              "body": null,
-              "headRefName": null,
-              "labels": Object {
-                "__args": Object {
-                  "last": "100",
-                },
-                "nodes": Object {
-                  "name": null,
-                },
-              },
-              "number": null,
-              "reviewRequests": Object {
-                "totalCount": null,
-              },
-              "title": null,
-            },
-            "pageInfo": Object {
-              "endCursor": null,
-              "hasNextPage": null,
-            },
-          },
-        },
-      },
-      "variables": Object {
-        "count": 100,
-        "cursor": null,
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.merge-info-preview+json, application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "771",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$count": "Int",
-          "$cursor": "String",
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "pullRequests": Object {
-            "__args": Object {
-              "after": "$cursor",
-              "first": "$count",
-              "orderBy": Object {
-                "direction": "DESC",
-                "field": "UPDATED_AT",
-              },
-              "states": Array [
-                "CLOSED",
-                "MERGED",
-              ],
-            },
-            "nodes": Object {
-              "comments": Object {
-                "__args": Object {
-                  "last": "100",
-                },
-                "nodes": Object {
-                  "body": null,
-                  "databaseId": null,
-                },
-              },
-              "headRefName": null,
-              "number": null,
-              "state": null,
-              "title": null,
-            },
-            "pageInfo": Object {
-              "endCursor": null,
-              "hasNextPage": null,
-            },
-          },
-        },
-      },
-      "variables": Object {
-        "count": 100,
-        "cursor": null,
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "674",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/pulls/90",
-  },
-]
-`;
-
-exports[`modules/platform/github/index getBranchStatus() defaults to pending 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/commits/somebranch/status",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.antiope-preview+json, application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/commits/somebranch/check-runs?per_page=100",
-  },
-]
-`;
-
-exports[`modules/platform/github/index getBranchStatus() returns success if ignoreTests true 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-]
-`;
-
-exports[`modules/platform/github/index getBranchStatus() should fail if a check run has failed 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/commits/somebranch/status",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.antiope-preview+json, application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/commits/somebranch/check-runs?per_page=100",
-  },
-]
-`;
-
-exports[`modules/platform/github/index getBranchStatus() should fail if a check run is pending 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/commits/somebranch/status",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.antiope-preview+json, application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/commits/somebranch/check-runs?per_page=100",
-  },
-]
-`;
-
-exports[`modules/platform/github/index getBranchStatus() should pass through failed 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/commits/somebranch/status",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.antiope-preview+json, application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/commits/somebranch/check-runs?per_page=100",
-  },
-]
-`;
-
-exports[`modules/platform/github/index getBranchStatus() should pass through success 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/commits/somebranch/status",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.antiope-preview+json, application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/commits/somebranch/check-runs?per_page=100",
-  },
-]
-`;
-
-exports[`modules/platform/github/index getBranchStatus() should succeed if no status and all passed check runs 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/commits/somebranch/status",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.antiope-preview+json, application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/commits/somebranch/check-runs?per_page=100",
-  },
-]
-`;
-
-exports[`modules/platform/github/index getBranchStatusCheck returns null 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e/statuses",
-  },
-]
-`;
-
-exports[`modules/platform/github/index getBranchStatusCheck returns state if found 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e/statuses",
-  },
-]
-`;
-
-exports[`modules/platform/github/index getJsonFile() returns file content 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/contents/file.json",
-  },
-]
-`;
-
-exports[`modules/platform/github/index getJsonFile() returns file content from branch or tag 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/contents/file.json?ref=dev",
-  },
-]
-`;
-
-exports[`modules/platform/github/index getJsonFile() returns file content from given repo 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "different",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "400",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/different/repo/contents/file.json",
-  },
-]
-`;
-
-exports[`modules/platform/github/index getJsonFile() returns file content in json5 format 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/contents/file.json5",
-  },
-]
-`;
-
-exports[`modules/platform/github/index getJsonFile() throws on errors 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/contents/file.json",
-  },
-]
-`;
-
-exports[`modules/platform/github/index getJsonFile() throws on malformed JSON 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/contents/file.json",
-  },
-]
-`;
-
 exports[`modules/platform/github/index getPr(prNo) should return PR from closed graphql result 1`] = `
 Object {
   "body": "dummy body",
@@ -4716,197 +44,6 @@ Object {
 }
 `;
 
-exports[`modules/platform/github/index getPr(prNo) should return PR from closed graphql result 2`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$count": "Int",
-          "$cursor": "String",
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "pullRequests": Object {
-            "__args": Object {
-              "after": "$cursor",
-              "first": "$count",
-              "orderBy": Object {
-                "direction": "DESC",
-                "field": "UPDATED_AT",
-              },
-              "states": Array [
-                "OPEN",
-              ],
-            },
-            "nodes": Object {
-              "assignees": Object {
-                "totalCount": null,
-              },
-              "baseRefName": null,
-              "body": null,
-              "headRefName": null,
-              "labels": Object {
-                "__args": Object {
-                  "last": "100",
-                },
-                "nodes": Object {
-                  "name": null,
-                },
-              },
-              "number": null,
-              "reviewRequests": Object {
-                "totalCount": null,
-              },
-              "title": null,
-            },
-            "pageInfo": Object {
-              "endCursor": null,
-              "hasNextPage": null,
-            },
-          },
-        },
-      },
-      "variables": Object {
-        "count": 100,
-        "cursor": null,
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.merge-info-preview+json, application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "771",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$count": "Int",
-          "$cursor": "String",
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "pullRequests": Object {
-            "__args": Object {
-              "after": "$cursor",
-              "first": "$count",
-              "orderBy": Object {
-                "direction": "DESC",
-                "field": "UPDATED_AT",
-              },
-              "states": Array [
-                "CLOSED",
-                "MERGED",
-              ],
-            },
-            "nodes": Object {
-              "comments": Object {
-                "__args": Object {
-                  "last": "100",
-                },
-                "nodes": Object {
-                  "body": null,
-                  "databaseId": null,
-                },
-              },
-              "headRefName": null,
-              "number": null,
-              "state": null,
-              "title": null,
-            },
-            "pageInfo": Object {
-              "endCursor": null,
-              "hasNextPage": null,
-            },
-          },
-        },
-      },
-      "variables": Object {
-        "count": 100,
-        "cursor": null,
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "674",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-]
-`;
-
 exports[`modules/platform/github/index getPr(prNo) should return PR from graphql result 1`] = `
 Object {
   "body": "Some body",
@@ -4921,129 +58,6 @@ Object {
 }
 `;
 
-exports[`modules/platform/github/index getPr(prNo) should return PR from graphql result 2`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$count": "Int",
-          "$cursor": "String",
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "pullRequests": Object {
-            "__args": Object {
-              "after": "$cursor",
-              "first": "$count",
-              "orderBy": Object {
-                "direction": "DESC",
-                "field": "UPDATED_AT",
-              },
-              "states": Array [
-                "OPEN",
-              ],
-            },
-            "nodes": Object {
-              "assignees": Object {
-                "totalCount": null,
-              },
-              "baseRefName": null,
-              "body": null,
-              "headRefName": null,
-              "labels": Object {
-                "__args": Object {
-                  "last": "100",
-                },
-                "nodes": Object {
-                  "name": null,
-                },
-              },
-              "number": null,
-              "reviewRequests": Object {
-                "totalCount": null,
-              },
-              "title": null,
-            },
-            "pageInfo": Object {
-              "endCursor": null,
-              "hasNextPage": null,
-            },
-          },
-        },
-      },
-      "variables": Object {
-        "count": 100,
-        "cursor": null,
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.merge-info-preview+json, application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "771",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-]
-`;
-
 exports[`modules/platform/github/index getPr(prNo) should return a PR object - 0 1`] = `
 Object {
   "createdAt": "01-01-2022",
@@ -5061,208 +75,6 @@ Object {
 }
 `;
 
-exports[`modules/platform/github/index getPr(prNo) should return a PR object - 0 2`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$count": "Int",
-          "$cursor": "String",
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "pullRequests": Object {
-            "__args": Object {
-              "after": "$cursor",
-              "first": "$count",
-              "orderBy": Object {
-                "direction": "DESC",
-                "field": "UPDATED_AT",
-              },
-              "states": Array [
-                "OPEN",
-              ],
-            },
-            "nodes": Object {
-              "assignees": Object {
-                "totalCount": null,
-              },
-              "baseRefName": null,
-              "body": null,
-              "headRefName": null,
-              "labels": Object {
-                "__args": Object {
-                  "last": "100",
-                },
-                "nodes": Object {
-                  "name": null,
-                },
-              },
-              "number": null,
-              "reviewRequests": Object {
-                "totalCount": null,
-              },
-              "title": null,
-            },
-            "pageInfo": Object {
-              "endCursor": null,
-              "hasNextPage": null,
-            },
-          },
-        },
-      },
-      "variables": Object {
-        "count": 100,
-        "cursor": null,
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.merge-info-preview+json, application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "771",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$count": "Int",
-          "$cursor": "String",
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "pullRequests": Object {
-            "__args": Object {
-              "after": "$cursor",
-              "first": "$count",
-              "orderBy": Object {
-                "direction": "DESC",
-                "field": "UPDATED_AT",
-              },
-              "states": Array [
-                "CLOSED",
-                "MERGED",
-              ],
-            },
-            "nodes": Object {
-              "comments": Object {
-                "__args": Object {
-                  "last": "100",
-                },
-                "nodes": Object {
-                  "body": null,
-                  "databaseId": null,
-                },
-              },
-              "headRefName": null,
-              "number": null,
-              "state": null,
-              "title": null,
-            },
-            "pageInfo": Object {
-              "endCursor": null,
-              "hasNextPage": null,
-            },
-          },
-        },
-      },
-      "variables": Object {
-        "count": 100,
-        "cursor": null,
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "674",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/pulls/1234",
-  },
-]
-`;
-
 exports[`modules/platform/github/index getPr(prNo) should return a PR object - 1 1`] = `
 Object {
   "displayNumber": "Pull Request #1234",
@@ -5275,208 +87,6 @@ Object {
 }
 `;
 
-exports[`modules/platform/github/index getPr(prNo) should return a PR object - 1 2`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$count": "Int",
-          "$cursor": "String",
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "pullRequests": Object {
-            "__args": Object {
-              "after": "$cursor",
-              "first": "$count",
-              "orderBy": Object {
-                "direction": "DESC",
-                "field": "UPDATED_AT",
-              },
-              "states": Array [
-                "OPEN",
-              ],
-            },
-            "nodes": Object {
-              "assignees": Object {
-                "totalCount": null,
-              },
-              "baseRefName": null,
-              "body": null,
-              "headRefName": null,
-              "labels": Object {
-                "__args": Object {
-                  "last": "100",
-                },
-                "nodes": Object {
-                  "name": null,
-                },
-              },
-              "number": null,
-              "reviewRequests": Object {
-                "totalCount": null,
-              },
-              "title": null,
-            },
-            "pageInfo": Object {
-              "endCursor": null,
-              "hasNextPage": null,
-            },
-          },
-        },
-      },
-      "variables": Object {
-        "count": 100,
-        "cursor": null,
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.merge-info-preview+json, application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "771",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$count": "Int",
-          "$cursor": "String",
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "pullRequests": Object {
-            "__args": Object {
-              "after": "$cursor",
-              "first": "$count",
-              "orderBy": Object {
-                "direction": "DESC",
-                "field": "UPDATED_AT",
-              },
-              "states": Array [
-                "CLOSED",
-                "MERGED",
-              ],
-            },
-            "nodes": Object {
-              "comments": Object {
-                "__args": Object {
-                  "last": "100",
-                },
-                "nodes": Object {
-                  "body": null,
-                  "databaseId": null,
-                },
-              },
-              "headRefName": null,
-              "number": null,
-              "state": null,
-              "title": null,
-            },
-            "pageInfo": Object {
-              "endCursor": null,
-              "hasNextPage": null,
-            },
-          },
-        },
-      },
-      "variables": Object {
-        "count": 100,
-        "cursor": null,
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "674",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/pulls/1234",
-  },
-]
-`;
-
 exports[`modules/platform/github/index getPr(prNo) should return a PR object - 2 1`] = `
 Object {
   "displayNumber": "Pull Request #1234",
@@ -5487,476 +97,8 @@ Object {
 }
 `;
 
-exports[`modules/platform/github/index getPr(prNo) should return a PR object - 2 2`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$count": "Int",
-          "$cursor": "String",
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "pullRequests": Object {
-            "__args": Object {
-              "after": "$cursor",
-              "first": "$count",
-              "orderBy": Object {
-                "direction": "DESC",
-                "field": "UPDATED_AT",
-              },
-              "states": Array [
-                "OPEN",
-              ],
-            },
-            "nodes": Object {
-              "assignees": Object {
-                "totalCount": null,
-              },
-              "baseRefName": null,
-              "body": null,
-              "headRefName": null,
-              "labels": Object {
-                "__args": Object {
-                  "last": "100",
-                },
-                "nodes": Object {
-                  "name": null,
-                },
-              },
-              "number": null,
-              "reviewRequests": Object {
-                "totalCount": null,
-              },
-              "title": null,
-            },
-            "pageInfo": Object {
-              "endCursor": null,
-              "hasNextPage": null,
-            },
-          },
-        },
-      },
-      "variables": Object {
-        "count": 100,
-        "cursor": null,
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.merge-info-preview+json, application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "771",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$count": "Int",
-          "$cursor": "String",
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "pullRequests": Object {
-            "__args": Object {
-              "after": "$cursor",
-              "first": "$count",
-              "orderBy": Object {
-                "direction": "DESC",
-                "field": "UPDATED_AT",
-              },
-              "states": Array [
-                "CLOSED",
-                "MERGED",
-              ],
-            },
-            "nodes": Object {
-              "comments": Object {
-                "__args": Object {
-                  "last": "100",
-                },
-                "nodes": Object {
-                  "body": null,
-                  "databaseId": null,
-                },
-              },
-              "headRefName": null,
-              "number": null,
-              "state": null,
-              "title": null,
-            },
-            "pageInfo": Object {
-              "endCursor": null,
-              "hasNextPage": null,
-            },
-          },
-        },
-      },
-      "variables": Object {
-        "count": 100,
-        "cursor": null,
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "674",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/pulls/1234",
-  },
-]
-`;
-
-exports[`modules/platform/github/index getPr(prNo) should return null if no PR is returned from GitHub 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$count": "Int",
-          "$cursor": "String",
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "pullRequests": Object {
-            "__args": Object {
-              "after": "$cursor",
-              "first": "$count",
-              "orderBy": Object {
-                "direction": "DESC",
-                "field": "UPDATED_AT",
-              },
-              "states": Array [
-                "OPEN",
-              ],
-            },
-            "nodes": Object {
-              "assignees": Object {
-                "totalCount": null,
-              },
-              "baseRefName": null,
-              "body": null,
-              "headRefName": null,
-              "labels": Object {
-                "__args": Object {
-                  "last": "100",
-                },
-                "nodes": Object {
-                  "name": null,
-                },
-              },
-              "number": null,
-              "reviewRequests": Object {
-                "totalCount": null,
-              },
-              "title": null,
-            },
-            "pageInfo": Object {
-              "endCursor": null,
-              "hasNextPage": null,
-            },
-          },
-        },
-      },
-      "variables": Object {
-        "count": 100,
-        "cursor": null,
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.merge-info-preview+json, application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "771",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$count": "Int",
-          "$cursor": "String",
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "pullRequests": Object {
-            "__args": Object {
-              "after": "$cursor",
-              "first": "$count",
-              "orderBy": Object {
-                "direction": "DESC",
-                "field": "UPDATED_AT",
-              },
-              "states": Array [
-                "CLOSED",
-                "MERGED",
-              ],
-            },
-            "nodes": Object {
-              "comments": Object {
-                "__args": Object {
-                  "last": "100",
-                },
-                "nodes": Object {
-                  "body": null,
-                  "databaseId": null,
-                },
-              },
-              "headRefName": null,
-              "number": null,
-              "state": null,
-              "title": null,
-            },
-            "pageInfo": Object {
-              "endCursor": null,
-              "hasNextPage": null,
-            },
-          },
-        },
-      },
-      "variables": Object {
-        "count": 100,
-        "cursor": null,
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "674",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/pulls/1234",
-  },
-]
-`;
-
-exports[`modules/platform/github/index getRepoForceRebase should detect repoForceRebase 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/undefined/branches/undefined/protection",
-  },
-]
-`;
-
-exports[`modules/platform/github/index getRepoForceRebase should handle 403 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/undefined/branches/undefined/protection",
-  },
-]
-`;
-
-exports[`modules/platform/github/index getRepoForceRebase should handle 404 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/undefined/branches/undefined/protection",
-  },
-]
-`;
-
 exports[`modules/platform/github/index getRepoForceRebase should throw 401 1`] = `"Response code 401 (Unauthorized)"`;
 
-exports[`modules/platform/github/index getRepoForceRebase should throw 401 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/undefined/branches/undefined/protection",
-  },
-]
-`;
-
 exports[`modules/platform/github/index getRepos should return an array of repos 1`] = `
 Array [
   "a/b",
@@ -5964,302 +106,6 @@ Array [
 ]
 `;
 
-exports[`modules/platform/github/index getRepos should return an array of repos 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/user/repos?per_page=100",
-  },
-]
-`;
-
-exports[`modules/platform/github/index getVulnerabilityAlerts() handles network error 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "vulnerabilityAlerts": Object {
-            "__args": Object {
-              "last": "100",
-              "states": Array [
-                "OPEN",
-              ],
-            },
-            "edges": Object {
-              "node": Object {
-                "dismissReason": null,
-                "securityAdvisory": Object {
-                  "description": null,
-                  "identifiers": Object {
-                    "type": null,
-                    "value": null,
-                  },
-                  "references": Object {
-                    "url": null,
-                  },
-                  "severity": null,
-                },
-                "securityVulnerability": Object {
-                  "firstPatchedVersion": Object {
-                    "identifier": null,
-                  },
-                  "package": Object {
-                    "ecosystem": null,
-                    "name": null,
-                  },
-                  "vulnerableVersionRange": null,
-                },
-                "vulnerableManifestFilename": null,
-                "vulnerableManifestPath": null,
-                "vulnerableRequirements": null,
-              },
-            },
-          },
-        },
-      },
-      "variables": Object {},
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.vixen-preview+json, application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "700",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-]
-`;
-
-exports[`modules/platform/github/index getVulnerabilityAlerts() returns array if found 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "vulnerabilityAlerts": Object {
-            "__args": Object {
-              "last": "100",
-              "states": Array [
-                "OPEN",
-              ],
-            },
-            "edges": Object {
-              "node": Object {
-                "dismissReason": null,
-                "securityAdvisory": Object {
-                  "description": null,
-                  "identifiers": Object {
-                    "type": null,
-                    "value": null,
-                  },
-                  "references": Object {
-                    "url": null,
-                  },
-                  "severity": null,
-                },
-                "securityVulnerability": Object {
-                  "firstPatchedVersion": Object {
-                    "identifier": null,
-                  },
-                  "package": Object {
-                    "ecosystem": null,
-                    "name": null,
-                  },
-                  "vulnerableVersionRange": null,
-                },
-                "vulnerableManifestFilename": null,
-                "vulnerableManifestPath": null,
-                "vulnerableRequirements": null,
-              },
-            },
-          },
-        },
-      },
-      "variables": Object {},
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.vixen-preview+json, application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "700",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-]
-`;
-
-exports[`modules/platform/github/index getVulnerabilityAlerts() returns empty if disabled 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "vulnerabilityAlerts": Object {
-            "__args": Object {
-              "last": "100",
-              "states": Array [
-                "OPEN",
-              ],
-            },
-            "edges": Object {
-              "node": Object {
-                "dismissReason": null,
-                "securityAdvisory": Object {
-                  "description": null,
-                  "identifiers": Object {
-                    "type": null,
-                    "value": null,
-                  },
-                  "references": Object {
-                    "url": null,
-                  },
-                  "severity": null,
-                },
-                "securityVulnerability": Object {
-                  "firstPatchedVersion": Object {
-                    "identifier": null,
-                  },
-                  "package": Object {
-                    "ecosystem": null,
-                    "name": null,
-                  },
-                  "vulnerableVersionRange": null,
-                },
-                "vulnerableManifestFilename": null,
-                "vulnerableManifestPath": null,
-                "vulnerableRequirements": null,
-              },
-            },
-          },
-        },
-      },
-      "variables": Object {},
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.vixen-preview+json, application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "700",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-]
-`;
-
-exports[`modules/platform/github/index getVulnerabilityAlerts() returns empty if error 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "vulnerabilityAlerts": Object {
-            "__args": Object {
-              "last": "100",
-              "states": Array [
-                "OPEN",
-              ],
-            },
-            "edges": Object {
-              "node": Object {
-                "dismissReason": null,
-                "securityAdvisory": Object {
-                  "description": null,
-                  "identifiers": Object {
-                    "type": null,
-                    "value": null,
-                  },
-                  "references": Object {
-                    "url": null,
-                  },
-                  "severity": null,
-                },
-                "securityVulnerability": Object {
-                  "firstPatchedVersion": Object {
-                    "identifier": null,
-                  },
-                  "package": Object {
-                    "ecosystem": null,
-                    "name": null,
-                  },
-                  "vulnerableVersionRange": null,
-                },
-                "vulnerableManifestFilename": null,
-                "vulnerableManifestPath": null,
-                "vulnerableRequirements": null,
-              },
-            },
-          },
-        },
-      },
-      "variables": Object {},
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.vixen-preview+json, application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "700",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-]
-`;
-
 exports[`modules/platform/github/index initPlatform() should support custom endpoint 1`] = `
 Object {
   "endpoint": "https://ghe.renovatebot.com/",
@@ -6268,44 +114,6 @@ Object {
 }
 `;
 
-exports[`modules/platform/github/index initPlatform() should support custom endpoint 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "ghe.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://ghe.renovatebot.com/",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "ghe.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://ghe.renovatebot.com/user",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "ghe.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://ghe.renovatebot.com/user/emails",
-  },
-]
-`;
-
 exports[`modules/platform/github/index initPlatform() should support custom endpoint without version 1`] = `
 Object {
   "endpoint": "https://ghe.renovatebot.com/",
@@ -6322,33 +130,6 @@ Object {
 }
 `;
 
-exports[`modules/platform/github/index initPlatform() should support default endpoint no email access 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/user",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/user/emails",
-  },
-]
-`;
-
 exports[`modules/platform/github/index initPlatform() should support default endpoint no email result 1`] = `
 Object {
   "endpoint": "https://api.github.com/",
@@ -6357,33 +138,6 @@ Object {
 }
 `;
 
-exports[`modules/platform/github/index initPlatform() should support default endpoint no email result 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/user",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/user/emails",
-  },
-]
-`;
-
 exports[`modules/platform/github/index initPlatform() should support default endpoint with email 1`] = `
 Object {
   "endpoint": "https://api.github.com/",
@@ -6392,33 +146,6 @@ Object {
 }
 `;
 
-exports[`modules/platform/github/index initPlatform() should support default endpoint with email 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/user",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/user/emails",
-  },
-]
-`;
-
 exports[`modules/platform/github/index initPlatform() should support gitAuthor and username 1`] = `
 Object {
   "endpoint": "https://api.github.com/",
@@ -6427,22 +154,6 @@ Object {
 }
 `;
 
-exports[`modules/platform/github/index initPlatform() should throw if user failure 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/user",
-  },
-]
-`;
-
 exports[`modules/platform/github/index initRepo detects fork default branch mismatch 1`] = `
 Object {
   "defaultBranch": "master",
@@ -6450,129 +161,6 @@ Object {
 }
 `;
 
-exports[`modules/platform/github/index initRepo detects fork default branch mismatch 2`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/user/repos?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/repos/some/repo/forks",
-  },
-  Object {
-    "body": Object {
-      "ref": "refs/heads/master",
-      "sha": "1234",
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "40",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/repos/forked/repo/git/refs",
-  },
-  Object {
-    "body": Object {
-      "default_branch": "master",
-      "name": "repo",
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "41",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PATCH",
-    "url": "https://api.github.com/repos/forked/repo",
-  },
-  Object {
-    "body": Object {
-      "force": true,
-      "sha": "1234",
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "27",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PATCH",
-    "url": "https://api.github.com/repos/forked/repo/git/refs/heads/master",
-  },
-]
-`;
-
 exports[`modules/platform/github/index initRepo should fork when forkMode 1`] = `
 Object {
   "defaultBranch": "master",
@@ -6580,78 +168,6 @@ Object {
 }
 `;
 
-exports[`modules/platform/github/index initRepo should fork when forkMode 2`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/user/repos?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/repos/some/repo/forks",
-  },
-]
-`;
-
 exports[`modules/platform/github/index initRepo should merge 1`] = `
 Object {
   "defaultBranch": "master",
@@ -6659,56 +175,6 @@ Object {
 }
 `;
 
-exports[`modules/platform/github/index initRepo should merge 2`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-]
-`;
-
 exports[`modules/platform/github/index initRepo should not guess at merge 1`] = `
 Object {
   "defaultBranch": "master",
@@ -6716,56 +182,6 @@ Object {
 }
 `;
 
-exports[`modules/platform/github/index initRepo should not guess at merge 2`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-]
-`;
-
 exports[`modules/platform/github/index initRepo should rebase 1`] = `
 Object {
   "defaultBranch": "master",
@@ -6773,56 +189,6 @@ Object {
 }
 `;
 
-exports[`modules/platform/github/index initRepo should rebase 2`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-]
-`;
-
 exports[`modules/platform/github/index initRepo should squash 1`] = `
 Object {
   "defaultBranch": "master",
@@ -6830,156 +196,6 @@ Object {
 }
 `;
 
-exports[`modules/platform/github/index initRepo should squash 2`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-]
-`;
-
-exports[`modules/platform/github/index initRepo should throw error if archived 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-]
-`;
-
-exports[`modules/platform/github/index initRepo should throw error if renamed 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-]
-`;
-
 exports[`modules/platform/github/index initRepo should update fork when forkMode 1`] = `
 Object {
   "defaultBranch": "master",
@@ -6987,998 +203,4 @@ Object {
 }
 `;
 
-exports[`modules/platform/github/index initRepo should update fork when forkMode 2`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/user/repos?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/repos/some/repo/forks",
-  },
-  Object {
-    "body": Object {
-      "force": true,
-      "sha": "1234",
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "27",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PATCH",
-    "url": "https://api.github.com/repos/forked/repo/git/refs/heads/master",
-  },
-]
-`;
-
-exports[`modules/platform/github/index initRepo throws not-found 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-]
-`;
-
-exports[`modules/platform/github/index massageMarkdown(input) returns not-updated pr body for GHE 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "github.company.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "HEAD",
-    "url": "https://github.company.com/",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "github.company.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://github.company.com/user",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "github.company.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://github.company.com/user/emails",
-  },
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "351",
-      "content-type": "application/json",
-      "host": "github.company.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://github.company.com/graphql",
-  },
-]
-`;
-
 exports[`modules/platform/github/index massageMarkdown(input) returns updated pr body 1`] = `"[https://github.com/foo/bar/issues/5](https://togithub.com/foo/bar/issues/5) plus also [a link](https://togithub.com/foo/bar/issues/5)"`;
-
-exports[`modules/platform/github/index mergePr(prNo) - autodetection should give up 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "body": Object {
-      "merge_method": "rebase",
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "25",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PUT",
-    "url": "https://api.github.com/repos/some/repo/pulls/1237/merge",
-  },
-  Object {
-    "body": Object {
-      "merge_method": "rebase",
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "25",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PUT",
-    "url": "https://api.github.com/repos/some/repo/pulls/1237/merge",
-  },
-  Object {
-    "body": Object {
-      "merge_method": "squash",
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "25",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PUT",
-    "url": "https://api.github.com/repos/some/repo/pulls/1237/merge",
-  },
-  Object {
-    "body": Object {
-      "merge_method": "merge",
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "24",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PUT",
-    "url": "https://api.github.com/repos/some/repo/pulls/1237/merge",
-  },
-]
-`;
-
-exports[`modules/platform/github/index mergePr(prNo) - autodetection should try merge after squash 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "body": Object {
-      "merge_method": "rebase",
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "25",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PUT",
-    "url": "https://api.github.com/repos/some/repo/pulls/1237/merge",
-  },
-  Object {
-    "body": Object {
-      "merge_method": "rebase",
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "25",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PUT",
-    "url": "https://api.github.com/repos/some/repo/pulls/1237/merge",
-  },
-  Object {
-    "body": Object {
-      "merge_method": "squash",
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "25",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PUT",
-    "url": "https://api.github.com/repos/some/repo/pulls/1237/merge",
-  },
-]
-`;
-
-exports[`modules/platform/github/index mergePr(prNo) - autodetection should try rebase first 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "body": Object {
-      "merge_method": "rebase",
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "25",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PUT",
-    "url": "https://api.github.com/repos/some/repo/pulls/1235/merge",
-  },
-]
-`;
-
-exports[`modules/platform/github/index mergePr(prNo) - autodetection should try squash after rebase 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "body": Object {
-      "merge_method": "rebase",
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "25",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PUT",
-    "url": "https://api.github.com/repos/some/repo/pulls/1236/merge",
-  },
-]
-`;
-
-exports[`modules/platform/github/index mergePr(prNo) should handle merge error 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "body": Object {
-      "merge_method": "rebase",
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "25",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PUT",
-    "url": "https://api.github.com/repos/some/repo/pulls/1234/merge",
-  },
-]
-`;
-
-exports[`modules/platform/github/index mergePr(prNo) should merge the PR 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "body": Object {
-      "merge_method": "rebase",
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "25",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PUT",
-    "url": "https://api.github.com/repos/some/repo/pulls/1234/merge",
-  },
-]
-`;
-
-exports[`modules/platform/github/index setBranchStatus returns if already set 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e/statuses",
-  },
-]
-`;
-
-exports[`modules/platform/github/index setBranchStatus sets branch status 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e/statuses",
-  },
-  Object {
-    "body": Object {
-      "context": "some-context",
-      "description": "some-description",
-      "state": "success",
-      "target_url": "some-url",
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "101",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/repos/some/repo/statuses/0d9c7726c3d628b7e28af234595cfd20febdbf8e",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/commits/some-branch/status",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repo/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e/statuses",
-  },
-]
-`;
-
-exports[`modules/platform/github/index updatePr(prNo, title, body) should update and close the PR 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "body": Object {
-      "body": "Hello world again",
-      "state": "closed",
-      "title": "The New Title",
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "69",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PATCH",
-    "url": "https://api.github.com/repos/some/repo/pulls/1234",
-  },
-]
-`;
-
-exports[`modules/platform/github/index updatePr(prNo, title, body) should update the PR 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$owner",
-          },
-          "autoMergeAllowed": null,
-          "defaultBranchRef": Object {
-            "name": null,
-            "target": Object {
-              "oid": null,
-            },
-          },
-          "hasIssuesEnabled": null,
-          "isArchived": null,
-          "isFork": null,
-          "mergeCommitAllowed": null,
-          "nameWithOwner": null,
-          "rebaseMergeAllowed": null,
-          "squashMergeAllowed": null,
-        },
-      },
-      "variables": Object {
-        "name": "repo",
-        "owner": "some",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "395",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "body": Object {
-      "body": "Hello world again",
-      "title": "The New Title",
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token 123test",
-      "content-length": "52",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PATCH",
-    "url": "https://api.github.com/repos/some/repo/pulls/1234",
-  },
-]
-`;
diff --git a/lib/modules/platform/github/index.spec.ts b/lib/modules/platform/github/index.spec.ts
index 29e7ddd4cbfe559d3273143f0f0ecf2710f44cd8..b19b0b4d72cf2a8f3c0ee63fb36cb134f8ff4278 100644
--- a/lib/modules/platform/github/index.spec.ts
+++ b/lib/modules/platform/github/index.spec.ts
@@ -56,7 +56,6 @@ describe('modules/platform/github/index', () => {
       await expect(
         github.initPlatform({ token: '123test' } as any)
       ).rejects.toThrow();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('should support default endpoint no email access', async () => {
       httpMock
@@ -70,7 +69,6 @@ describe('modules/platform/github/index', () => {
       expect(
         await github.initPlatform({ token: '123test' } as any)
       ).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('should support default endpoint no email result', async () => {
       httpMock
@@ -84,7 +82,6 @@ describe('modules/platform/github/index', () => {
       expect(
         await github.initPlatform({ token: '123test' } as any)
       ).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('should support gitAuthor and username', async () => {
       expect(
@@ -111,7 +108,6 @@ describe('modules/platform/github/index', () => {
       expect(
         await github.initPlatform({ token: '123test' } as any)
       ).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('should support custom endpoint', async () => {
       httpMock
@@ -135,7 +131,6 @@ describe('modules/platform/github/index', () => {
           token: '123test',
         })
       ).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('should support custom endpoint without version', async () => {
@@ -178,7 +173,6 @@ describe('modules/platform/github/index', () => {
         ]);
       const repos = await github.getRepos();
       expect(repos).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('should return an array of repos when using Github App endpoint', async () => {
       //Use Github App token
@@ -287,7 +281,6 @@ describe('modules/platform/github/index', () => {
         repository: 'some/repo',
       } as any);
       expect(config).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('should fork when forkMode', async () => {
       const scope = httpMock.scope(githubApiHost);
@@ -297,7 +290,6 @@ describe('modules/platform/github/index', () => {
         forkMode: true,
       } as any);
       expect(config).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('should update fork when forkMode', async () => {
       const scope = httpMock.scope(githubApiHost);
@@ -308,7 +300,6 @@ describe('modules/platform/github/index', () => {
         forkMode: true,
       } as any);
       expect(config).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('detects fork default branch mismatch', async () => {
       const scope = httpMock.scope(githubApiHost);
@@ -321,7 +312,6 @@ describe('modules/platform/github/index', () => {
         forkMode: true,
       } as any);
       expect(config).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('should squash', async () => {
       httpMock
@@ -350,7 +340,6 @@ describe('modules/platform/github/index', () => {
         repository: 'some/repo',
       } as any);
       expect(config).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('should merge', async () => {
       httpMock
@@ -379,7 +368,6 @@ describe('modules/platform/github/index', () => {
         repository: 'some/repo',
       } as any);
       expect(config).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('should not guess at merge', async () => {
       httpMock
@@ -401,7 +389,6 @@ describe('modules/platform/github/index', () => {
         repository: 'some/repo',
       } as any);
       expect(config).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('should throw error if archived', async () => {
       httpMock
@@ -427,7 +414,6 @@ describe('modules/platform/github/index', () => {
           repository: 'some/repo',
         } as any)
       ).rejects.toThrow();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('throws not-found', async () => {
       httpMock.scope(githubApiHost).post(`/graphql`).reply(404);
@@ -436,7 +422,6 @@ describe('modules/platform/github/index', () => {
           repository: 'some/repo',
         } as any)
       ).rejects.toThrow(REPOSITORY_NOT_FOUND);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('should throw error if renamed', async () => {
       httpMock
@@ -461,7 +446,6 @@ describe('modules/platform/github/index', () => {
           repository: 'some/repo',
         } as any)
       ).rejects.toThrow(REPOSITORY_RENAMED);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('should not be case sensitive', async () => {
       httpMock
@@ -516,7 +500,6 @@ describe('modules/platform/github/index', () => {
         });
       const res = await github.getRepoForceRebase();
       expect(res).toBeTrue();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('should handle 404', async () => {
       httpMock
@@ -525,7 +508,6 @@ describe('modules/platform/github/index', () => {
         .reply(404);
       const res = await github.getRepoForceRebase();
       expect(res).toBeFalse();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('should handle 403', async () => {
       httpMock
@@ -534,7 +516,6 @@ describe('modules/platform/github/index', () => {
         .reply(403);
       const res = await github.getRepoForceRebase();
       expect(res).toBeFalse();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('should throw 401', async () => {
       httpMock
@@ -544,7 +525,6 @@ describe('modules/platform/github/index', () => {
       await expect(
         github.getRepoForceRebase()
       ).rejects.toThrowErrorMatchingSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
   describe('getBranchPr(branchName)', () => {
@@ -558,7 +538,6 @@ describe('modules/platform/github/index', () => {
       } as any);
       const pr = await github.getBranchPr('somebranch');
       expect(pr).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('should return the PR object', async () => {
       const scope = httpMock.scope(githubApiHost);
@@ -601,7 +580,6 @@ describe('modules/platform/github/index', () => {
       } as any);
       const pr = await github.getBranchPr('somebranch');
       expect(pr).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('should reopen an autoclosed PR', async () => {
       const scope = httpMock.scope(githubApiHost);
@@ -650,7 +628,6 @@ describe('modules/platform/github/index', () => {
       } as any);
       const pr = await github.getBranchPr('somebranch');
       expect(pr).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('aborts reopen if PR is too old', async () => {
       const scope = httpMock.scope(githubApiHost);
@@ -675,7 +652,6 @@ describe('modules/platform/github/index', () => {
       } as any);
       const pr = await github.getBranchPr('somebranch');
       expect(pr).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('aborts reopening if branch recreation fails', async () => {
       const scope = httpMock.scope(githubApiHost);
@@ -701,7 +677,6 @@ describe('modules/platform/github/index', () => {
       } as any);
       const pr = await github.getBranchPr('somebranch');
       expect(pr).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('aborts reopening if PR reopening fails', async () => {
       const scope = httpMock.scope(githubApiHost);
@@ -725,7 +700,6 @@ describe('modules/platform/github/index', () => {
       } as any);
       const pr = await github.getBranchPr('somebranch');
       expect(pr).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('should return the PR object in fork mode', async () => {
       const scope = httpMock.scope(githubApiHost);
@@ -770,7 +744,6 @@ describe('modules/platform/github/index', () => {
       } as any);
       const pr = await github.getBranchPr('somebranch');
       expect(pr).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
   describe('getBranchStatus()', () => {
@@ -778,10 +751,11 @@ describe('modules/platform/github/index', () => {
       const scope = httpMock.scope(githubApiHost);
       initRepoMock(scope, 'some/repo');
 
-      await github.initRepo({
-        repository: 'some/repo',
-      } as any);
-      expect(httpMock.getTrace()).toMatchSnapshot();
+      await expect(
+        github.initRepo({
+          repository: 'some/repo',
+        } as any)
+      ).toResolve();
     });
     it('should pass through success', async () => {
       const scope = httpMock.scope(githubApiHost);
@@ -799,7 +773,6 @@ describe('modules/platform/github/index', () => {
       } as any);
       const res = await github.getBranchStatus('somebranch');
       expect(res).toEqual(BranchStatus.green);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('should pass through failed', async () => {
       const scope = httpMock.scope(githubApiHost);
@@ -817,7 +790,6 @@ describe('modules/platform/github/index', () => {
       } as any);
       const res = await github.getBranchStatus('somebranch');
       expect(res).toEqual(BranchStatus.red);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('defaults to pending', async () => {
       const scope = httpMock.scope(githubApiHost);
@@ -834,7 +806,6 @@ describe('modules/platform/github/index', () => {
       } as any);
       const res = await github.getBranchStatus('somebranch');
       expect(res).toEqual(BranchStatus.yellow);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('should fail if a check run has failed', async () => {
       const scope = httpMock.scope(githubApiHost);
@@ -868,7 +839,6 @@ describe('modules/platform/github/index', () => {
       } as any);
       const res = await github.getBranchStatus('somebranch');
       expect(res).toEqual(BranchStatus.red);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('should succeed if no status and all passed check runs', async () => {
       const scope = httpMock.scope(githubApiHost);
@@ -908,7 +878,6 @@ describe('modules/platform/github/index', () => {
       } as any);
       const res = await github.getBranchStatus('somebranch');
       expect(res).toEqual(BranchStatus.green);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('should fail if a check run is pending', async () => {
       const scope = httpMock.scope(githubApiHost);
@@ -941,7 +910,6 @@ describe('modules/platform/github/index', () => {
       } as any);
       const res = await github.getBranchStatus('somebranch');
       expect(res).toEqual(BranchStatus.yellow);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
   describe('getBranchStatusCheck', () => {
@@ -975,7 +943,6 @@ describe('modules/platform/github/index', () => {
         'context-2'
       );
       expect(res).toEqual(BranchStatus.yellow);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns null', async () => {
       const scope = httpMock.scope(githubApiHost);
@@ -1003,7 +970,6 @@ describe('modules/platform/github/index', () => {
       } as any);
       const res = await github.getBranchStatusCheck('somebranch', 'context-4');
       expect(res).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
   describe('setBranchStatus', () => {
@@ -1023,14 +989,15 @@ describe('modules/platform/github/index', () => {
       await github.initRepo({
         repository: 'some/repo',
       } as any);
-      await github.setBranchStatus({
-        branchName: 'some-branch',
-        context: 'some-context',
-        description: 'some-description',
-        state: BranchStatus.yellow,
-        url: 'some-url',
-      });
-      expect(httpMock.getTrace()).toMatchSnapshot();
+      await expect(
+        github.setBranchStatus({
+          branchName: 'some-branch',
+          context: 'some-context',
+          description: 'some-description',
+          state: BranchStatus.yellow,
+          url: 'some-url',
+        })
+      ).toResolve();
     });
     it('sets branch status', async () => {
       const scope = httpMock.scope(githubApiHost);
@@ -1067,14 +1034,15 @@ describe('modules/platform/github/index', () => {
       await github.initRepo({
         repository: 'some/repo',
       } as any);
-      await github.setBranchStatus({
-        branchName: 'some-branch',
-        context: 'some-context',
-        description: 'some-description',
-        state: BranchStatus.green,
-        url: 'some-url',
-      });
-      expect(httpMock.getTrace()).toMatchSnapshot();
+      await expect(
+        github.setBranchStatus({
+          branchName: 'some-branch',
+          context: 'some-context',
+          description: 'some-description',
+          state: BranchStatus.green,
+          url: 'some-url',
+        })
+      ).toResolve();
     });
   });
   describe('findIssue()', () => {
@@ -1109,7 +1077,6 @@ describe('modules/platform/github/index', () => {
         });
       const res = await github.findIssue('title-3');
       expect(res).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('finds issue', async () => {
       httpMock
@@ -1144,7 +1111,6 @@ describe('modules/platform/github/index', () => {
         .reply(200, { body: 'new-content' });
       const res = await github.findIssue('title-2');
       expect(res).not.toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
   describe('ensureIssue()', () => {
@@ -1186,7 +1152,6 @@ describe('modules/platform/github/index', () => {
         body: 'new-content',
       });
       expect(res).toBe('created');
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('creates issue if not ensuring only once', async () => {
       const scope = httpMock.scope(githubApiHost);
@@ -1226,7 +1191,6 @@ describe('modules/platform/github/index', () => {
         body: 'new-content',
       });
       expect(res).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('does not create issue if ensuring only once', async () => {
       const scope = httpMock.scope(githubApiHost);
@@ -1264,7 +1228,6 @@ describe('modules/platform/github/index', () => {
         once,
       });
       expect(res).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('creates issue with labels', async () => {
@@ -1295,7 +1258,6 @@ describe('modules/platform/github/index', () => {
         labels: ['Renovate', 'Maintenance'],
       });
       expect(res).toBe('created');
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('closes others if ensuring only once', async () => {
@@ -1343,7 +1305,6 @@ describe('modules/platform/github/index', () => {
         once,
       });
       expect(res).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('updates issue', async () => {
       const scope = httpMock.scope(githubApiHost);
@@ -1386,7 +1347,6 @@ describe('modules/platform/github/index', () => {
         body: 'newer-content',
       });
       expect(res).toBe('updated');
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('updates issue with labels', async () => {
@@ -1431,7 +1391,6 @@ describe('modules/platform/github/index', () => {
         labels: ['Renovate', 'Maintenance'],
       });
       expect(res).toBe('updated');
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('skips update if unchanged', async () => {
@@ -1472,7 +1431,6 @@ describe('modules/platform/github/index', () => {
         body: 'newer-content',
       });
       expect(res).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('deletes if duplicate', async () => {
       const scope = httpMock.scope(githubApiHost);
@@ -1514,7 +1472,6 @@ describe('modules/platform/github/index', () => {
         body: 'newer-content',
       });
       expect(res).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('creates issue if reopen flag false and issue is not open', async () => {
       const scope = httpMock.scope(githubApiHost);
@@ -1553,7 +1510,6 @@ describe('modules/platform/github/index', () => {
         shouldReOpen: false,
       });
       expect(res).toBe('created');
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('does not create issue if reopen flag false and issue is already open', async () => {
       const scope = httpMock.scope(githubApiHost);
@@ -1590,7 +1546,6 @@ describe('modules/platform/github/index', () => {
         shouldReOpen: false,
       });
       expect(res).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
   describe('ensureIssueClosing()', () => {
@@ -1625,8 +1580,7 @@ describe('modules/platform/github/index', () => {
         })
         .patch('/repos/undefined/issues/2')
         .reply(200);
-      await github.ensureIssueClosing('title-2');
-      expect(httpMock.getTrace()).toMatchSnapshot();
+      await expect(github.ensureIssueClosing('title-2')).toResolve();
     });
   });
   describe('deleteLabel(issueNo, label)', () => {
@@ -1637,8 +1591,7 @@ describe('modules/platform/github/index', () => {
       await github.initRepo({
         repository: 'some/repo',
       } as any);
-      await github.deleteLabel(42, 'rebase');
-      expect(httpMock.getTrace()).toMatchSnapshot();
+      await expect(github.deleteLabel(42, 'rebase')).toResolve();
     });
   });
   describe('addAssignees(issueNo, assignees)', () => {
@@ -1649,8 +1602,9 @@ describe('modules/platform/github/index', () => {
       await github.initRepo({
         repository: 'some/repo',
       } as any);
-      await github.addAssignees(42, ['someuser', 'someotheruser']);
-      expect(httpMock.getTrace()).toMatchSnapshot();
+      await expect(
+        github.addAssignees(42, ['someuser', 'someotheruser'])
+      ).toResolve();
     });
   });
   describe('addReviewers(issueNo, reviewers)', () => {
@@ -1661,12 +1615,9 @@ describe('modules/platform/github/index', () => {
       await github.initRepo({
         repository: 'some/repo',
       } as any);
-      await github.addReviewers(42, [
-        'someuser',
-        'someotheruser',
-        'team:someteam',
-      ]);
-      expect(httpMock.getTrace()).toMatchSnapshot();
+      await expect(
+        github.addReviewers(42, ['someuser', 'someotheruser', 'team:someteam'])
+      ).toResolve();
     });
   });
   describe('ensureComment', () => {
@@ -1682,13 +1633,13 @@ describe('modules/platform/github/index', () => {
         repository: 'some/repo',
       } as any);
 
-      await github.ensureComment({
-        number: 42,
-        topic: 'some-subject',
-        content: 'some\ncontent',
-      });
-
-      expect(httpMock.getTrace()).toMatchSnapshot();
+      await expect(
+        github.ensureComment({
+          number: 42,
+          topic: 'some-subject',
+          content: 'some\ncontent',
+        })
+      ).toResolve();
     });
     it('adds comment if found in closed PR list', async () => {
       const scope = httpMock.scope(githubApiHost);
@@ -1703,13 +1654,13 @@ describe('modules/platform/github/index', () => {
       } as any);
       await github.getClosedPrs();
 
-      await github.ensureComment({
-        number: 2499,
-        topic: 'some-subject',
-        content: 'some\ncontent',
-      });
-
-      expect(httpMock.getTrace()).toMatchSnapshot();
+      await expect(
+        github.ensureComment({
+          number: 2499,
+          topic: 'some-subject',
+          content: 'some\ncontent',
+        })
+      ).toResolve();
     });
     it('add updates comment if necessary', async () => {
       const scope = httpMock.scope(githubApiHost);
@@ -1723,13 +1674,13 @@ describe('modules/platform/github/index', () => {
         repository: 'some/repo',
       } as any);
 
-      await github.ensureComment({
-        number: 42,
-        topic: 'some-subject',
-        content: 'some\ncontent',
-      });
-
-      expect(httpMock.getTrace()).toMatchSnapshot();
+      await expect(
+        github.ensureComment({
+          number: 42,
+          topic: 'some-subject',
+          content: 'some\ncontent',
+        })
+      ).toResolve();
     });
     it('skips comment', async () => {
       const scope = httpMock.scope(githubApiHost);
@@ -1741,13 +1692,13 @@ describe('modules/platform/github/index', () => {
         repository: 'some/repo',
       } as any);
 
-      await github.ensureComment({
-        number: 42,
-        topic: 'some-subject',
-        content: 'some\ncontent',
-      });
-
-      expect(httpMock.getTrace()).toMatchSnapshot();
+      await expect(
+        github.ensureComment({
+          number: 42,
+          topic: 'some-subject',
+          content: 'some\ncontent',
+        })
+      ).toResolve();
     });
     it('handles comment with no description', async () => {
       const scope = httpMock.scope(githubApiHost);
@@ -1759,13 +1710,13 @@ describe('modules/platform/github/index', () => {
         repository: 'some/repo',
       } as any);
 
-      await github.ensureComment({
-        number: 42,
-        topic: null,
-        content: '!merge',
-      });
-
-      expect(httpMock.getTrace()).toMatchSnapshot();
+      await expect(
+        github.ensureComment({
+          number: 42,
+          topic: null,
+          content: '!merge',
+        })
+      ).toResolve();
     });
   });
   describe('ensureCommentRemoval', () => {
@@ -1779,13 +1730,13 @@ describe('modules/platform/github/index', () => {
         .reply(200);
       await github.initRepo({ repository: 'some/repo', token: 'token' } as any);
 
-      await github.ensureCommentRemoval({
-        type: 'by-topic',
-        number: 42,
-        topic: 'some-subject',
-      });
-
-      expect(httpMock.getTrace()).toMatchSnapshot();
+      await expect(
+        github.ensureCommentRemoval({
+          type: 'by-topic',
+          number: 42,
+          topic: 'some-subject',
+        })
+      ).toResolve();
     });
     it('deletes comment by content if found', async () => {
       const scope = httpMock.scope(githubApiHost);
@@ -1797,13 +1748,13 @@ describe('modules/platform/github/index', () => {
         .reply(200);
       await github.initRepo({ repository: 'some/repo', token: 'token' } as any);
 
-      await github.ensureCommentRemoval({
-        type: 'by-content',
-        number: 42,
-        content: 'some-content',
-      });
-
-      expect(httpMock.getTrace()).toMatchSnapshot();
+      await expect(
+        github.ensureCommentRemoval({
+          type: 'by-content',
+          number: 42,
+          content: 'some-content',
+        })
+      ).toResolve();
     });
   });
   describe('findPr(branchName, prTitle, state)', () => {
@@ -1844,7 +1795,6 @@ describe('modules/platform/github/index', () => {
         branchName: 'branch-a',
       });
       expect(res).toBeDefined();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns true if not open', async () => {
       httpMock
@@ -1864,7 +1814,6 @@ describe('modules/platform/github/index', () => {
         state: PrState.NotOpen,
       });
       expect(res).toBeDefined();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('caches pr list', async () => {
       httpMock
@@ -1893,7 +1842,6 @@ describe('modules/platform/github/index', () => {
       expect(res).toBeDefined();
       res = await github.findPr({ branchName: 'branch-b' });
       expect(res).toBeUndefined();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
   describe('createPr()', () => {
@@ -1917,7 +1865,6 @@ describe('modules/platform/github/index', () => {
         labels: ['deps', 'renovate'],
       });
       expect(pr).toMatchObject({ number: 123 });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('should use defaultBranch', async () => {
       const scope = httpMock.scope(githubApiHost);
@@ -1935,7 +1882,6 @@ describe('modules/platform/github/index', () => {
         labels: null,
       });
       expect(pr).toMatchObject({ number: 123 });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('should create a draftPR if set in the settings', async () => {
       const scope = httpMock.scope(githubApiHost);
@@ -1954,7 +1900,6 @@ describe('modules/platform/github/index', () => {
         draftPR: true,
       });
       expect(pr).toMatchObject({ number: 123 });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     describe('automerge', () => {
       const createdPrResp = {
@@ -2119,7 +2064,6 @@ describe('modules/platform/github/index', () => {
       const pr = await github.getPr(2500);
       expect(pr).toBeDefined();
       expect(pr).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('should return PR from closed graphql result', async () => {
       const scope = httpMock.scope(githubApiHost);
@@ -2135,7 +2079,6 @@ describe('modules/platform/github/index', () => {
       const pr = await github.getPr(2499);
       expect(pr).toBeDefined();
       expect(pr).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('should return null if no PR is returned from GitHub', async () => {
       const scope = httpMock.scope(githubApiHost);
@@ -2149,7 +2092,6 @@ describe('modules/platform/github/index', () => {
       await github.initRepo({ repository: 'some/repo', token: 'token' } as any);
       const pr = await github.getPr(1234);
       expect(pr).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it(`should return a PR object - 0`, async () => {
       const scope = httpMock.scope(githubApiHost);
@@ -2176,7 +2118,6 @@ describe('modules/platform/github/index', () => {
       } as any);
       const pr = await github.getPr(1234);
       expect(pr).toMatchSnapshot({ state: 'merged' });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it(`should return a PR object - 1`, async () => {
       const scope = httpMock.scope(githubApiHost);
@@ -2203,7 +2144,6 @@ describe('modules/platform/github/index', () => {
       } as any);
       const pr = await github.getPr(1234);
       expect(pr).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it(`should return a PR object - 2`, async () => {
       const scope = httpMock.scope(githubApiHost);
@@ -2227,7 +2167,6 @@ describe('modules/platform/github/index', () => {
       } as any);
       const pr = await github.getPr(1234);
       expect(pr).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
   describe('updatePr(prNo, title, body)', () => {
@@ -2236,25 +2175,27 @@ describe('modules/platform/github/index', () => {
       initRepoMock(scope, 'some/repo');
       scope.patch('/repos/some/repo/pulls/1234').reply(200);
       await github.initRepo({ repository: 'some/repo', token: 'token' } as any);
-      await github.updatePr({
-        number: 1234,
-        prTitle: 'The New Title',
-        prBody: 'Hello world again',
-      });
-      expect(httpMock.getTrace()).toMatchSnapshot();
+      await expect(
+        github.updatePr({
+          number: 1234,
+          prTitle: 'The New Title',
+          prBody: 'Hello world again',
+        })
+      ).toResolve();
     });
     it('should update and close the PR', async () => {
       const scope = httpMock.scope(githubApiHost);
       initRepoMock(scope, 'some/repo');
       scope.patch('/repos/some/repo/pulls/1234').reply(200);
       await github.initRepo({ repository: 'some/repo', token: 'token' } as any);
-      await github.updatePr({
-        number: 1234,
-        prTitle: 'The New Title',
-        prBody: 'Hello world again',
-        state: PrState.Closed,
-      });
-      expect(httpMock.getTrace()).toMatchSnapshot();
+      await expect(
+        github.updatePr({
+          number: 1234,
+          prTitle: 'The New Title',
+          prBody: 'Hello world again',
+          state: PrState.Closed,
+        })
+      ).toResolve();
     });
   });
   describe('mergePr(prNo)', () => {
@@ -2275,7 +2216,6 @@ describe('modules/platform/github/index', () => {
           id: pr.number,
         })
       ).toBeTrue();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('should handle merge error', async () => {
       const scope = httpMock.scope(githubApiHost);
@@ -2296,7 +2236,6 @@ describe('modules/platform/github/index', () => {
           id: pr.number,
         })
       ).toBeFalse();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
   describe('massageMarkdown(input)', () => {
@@ -2330,7 +2269,6 @@ describe('modules/platform/github/index', () => {
       const input =
         'https://github.com/foo/bar/issues/5 plus also [a link](https://github.com/foo/bar/issues/5)';
       expect(github.massageMarkdown(input)).toEqual(input);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
   describe('mergePr(prNo) - autodetection', () => {
@@ -2351,7 +2289,6 @@ describe('modules/platform/github/index', () => {
           id: pr.number,
         })
       ).toBeTrue();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('should try squash after rebase', async () => {
       const scope = httpMock.scope(githubApiHost);
@@ -2366,11 +2303,12 @@ describe('modules/platform/github/index', () => {
           ref: 'someref',
         },
       };
-      await github.mergePr({
-        branchName: '',
-        id: pr.number,
-      });
-      expect(httpMock.getTrace()).toMatchSnapshot();
+      expect(
+        await github.mergePr({
+          branchName: '',
+          id: pr.number,
+        })
+      ).toBeFalse();
     });
     it('should try merge after squash', async () => {
       const scope = httpMock.scope(githubApiHost);
@@ -2395,7 +2333,6 @@ describe('modules/platform/github/index', () => {
           id: pr.number,
         })
       ).toBeTrue();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('should give up', async () => {
       const scope = httpMock.scope(githubApiHost);
@@ -2422,7 +2359,6 @@ describe('modules/platform/github/index', () => {
           id: pr.number,
         })
       ).toBeFalse();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
   describe('getVulnerabilityAlerts()', () => {
@@ -2430,7 +2366,6 @@ describe('modules/platform/github/index', () => {
       httpMock.scope(githubApiHost).post('/graphql').reply(200, {});
       const res = await github.getVulnerabilityAlerts();
       expect(res).toHaveLength(0);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns array if found', async () => {
       httpMock
@@ -2464,7 +2399,6 @@ describe('modules/platform/github/index', () => {
         });
       const res = await github.getVulnerabilityAlerts();
       expect(res).toHaveLength(1);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns array if found on GHE', async () => {
       const gheApiHost = 'https://ghe.renovatebot.com';
@@ -2521,14 +2455,12 @@ describe('modules/platform/github/index', () => {
       httpMock.scope(githubApiHost).post('/graphql').reply(200, {data: {repository: {}}});
       const res = await github.getVulnerabilityAlerts();
       expect(res).toHaveLength(0);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('handles network error', async () => {
       // prettier-ignore
       httpMock.scope(githubApiHost).post('/graphql').replyWithError('unknown error');
       const res = await github.getVulnerabilityAlerts();
       expect(res).toHaveLength(0);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('calls logger.debug with only items that include securityVulnerability', async () => {
       httpMock
@@ -2587,7 +2519,6 @@ describe('modules/platform/github/index', () => {
       });
       const res = await github.getJsonFile('file.json');
       expect(res).toEqual(data);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('returns file content in json5 format', async () => {
@@ -2605,7 +2536,6 @@ describe('modules/platform/github/index', () => {
       });
       const res = await github.getJsonFile('file.json5');
       expect(res).toEqual({ foo: 'bar' });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('returns file content from given repo', async () => {
@@ -2621,7 +2551,6 @@ describe('modules/platform/github/index', () => {
       });
       const res = await github.getJsonFile('file.json', 'different/repo');
       expect(res).toEqual(data);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('returns file content from branch or tag', async () => {
@@ -2634,7 +2563,6 @@ describe('modules/platform/github/index', () => {
       });
       const res = await github.getJsonFile('file.json', 'some/repo', 'dev');
       expect(res).toEqual(data);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('throws on malformed JSON', async () => {
@@ -2645,7 +2573,6 @@ describe('modules/platform/github/index', () => {
         content: toBase64('!@#'),
       });
       await expect(github.getJsonFile('file.json')).rejects.toThrow();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('throws on errors', async () => {
       const scope = httpMock.scope(githubApiHost);
@@ -2656,7 +2583,6 @@ describe('modules/platform/github/index', () => {
         .replyWithError('some error');
 
       await expect(github.getJsonFile('file.json')).rejects.toThrow();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 
diff --git a/lib/modules/platform/gitlab/__snapshots__/index.spec.ts.snap b/lib/modules/platform/gitlab/__snapshots__/index.spec.ts.snap
index 5346d228429fc53264be2bc107ce0759ceaa1f1f..77b55a97906bbd617c2832035fa8c6d76e76e106 100644
--- a/lib/modules/platform/gitlab/__snapshots__/index.spec.ts.snap
+++ b/lib/modules/platform/gitlab/__snapshots__/index.spec.ts.snap
@@ -1,386 +1,5 @@
 // Jest Snapshot v1, https://goo.gl/fbAQLP
 
-exports[`modules/platform/gitlab/index addAssignees(issueNo, assignees) should add the given assignee to the issue 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/users?username=someuser",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PUT",
-    "url": "https://gitlab.com/api/v4/projects/undefined/merge_requests/42?assignee_ids%5B%5D=123",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index addAssignees(issueNo, assignees) should add the given assignees to the issue 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/users?username=someuser",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/users?username=someotheruser",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PUT",
-    "url": "https://gitlab.com/api/v4/projects/undefined/merge_requests/42?assignee_ids%5B%5D=123&assignee_ids%5B%5D=124",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index addAssignees(issueNo, assignees) should swallow error 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/users?username=someuser",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index createPr(branchName, title, body) adds approval rule to ignore all approvals 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer some-token",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/user",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer some-token",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/version",
-  },
-  Object {
-    "body": Object {
-      "description": "the-body",
-      "labels": "",
-      "remove_source_branch": true,
-      "source_branch": "some-branch",
-      "target_branch": "master",
-      "title": "some-title",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "content-length": "142",
-      "content-type": "application/json",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://gitlab.com/api/v4/projects/undefined/merge_requests",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/undefined/merge_requests/12345/approval_rules",
-  },
-  Object {
-    "body": Object {
-      "approvals_required": 0,
-      "name": "renovateIgnoreApprovals",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "content-length": "57",
-      "content-type": "application/json",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://gitlab.com/api/v4/projects/undefined/merge_requests/12345/approval_rules",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/undefined/merge_requests/12345",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/undefined/merge_requests/12345",
-  },
-  Object {
-    "body": Object {
-      "merge_when_pipeline_succeeds": true,
-      "should_remove_source_branch": true,
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "content-length": "72",
-      "content-type": "application/json",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PUT",
-    "url": "https://gitlab.com/api/v4/projects/undefined/merge_requests/12345/merge",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index createPr(branchName, title, body) auto-accepts the MR when requested 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer some-token",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/user",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer some-token",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/version",
-  },
-  Object {
-    "body": Object {
-      "description": "the-body",
-      "labels": "",
-      "remove_source_branch": true,
-      "source_branch": "some-branch",
-      "target_branch": "master",
-      "title": "some-title",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "content-length": "142",
-      "content-type": "application/json",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://gitlab.com/api/v4/projects/undefined/merge_requests",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/undefined/merge_requests/12345",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/undefined/merge_requests/12345",
-  },
-  Object {
-    "body": Object {
-      "merge_when_pipeline_succeeds": true,
-      "should_remove_source_branch": true,
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "content-length": "72",
-      "content-type": "application/json",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PUT",
-    "url": "https://gitlab.com/api/v4/projects/undefined/merge_requests/12345/merge",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index createPr(branchName, title, body) does not try to create already existing approval rule 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer some-token",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/user",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer some-token",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/version",
-  },
-  Object {
-    "body": Object {
-      "description": "the-body",
-      "labels": "",
-      "remove_source_branch": true,
-      "source_branch": "some-branch",
-      "target_branch": "master",
-      "title": "some-title",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "content-length": "142",
-      "content-type": "application/json",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://gitlab.com/api/v4/projects/undefined/merge_requests",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/undefined/merge_requests/12345/approval_rules",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/undefined/merge_requests/12345",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/undefined/merge_requests/12345",
-  },
-  Object {
-    "body": Object {
-      "merge_when_pipeline_succeeds": true,
-      "should_remove_source_branch": true,
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "content-length": "72",
-      "content-type": "application/json",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PUT",
-    "url": "https://gitlab.com/api/v4/projects/undefined/merge_requests/12345/merge",
-  },
-]
-`;
-
 exports[`modules/platform/gitlab/index createPr(branchName, title, body) raises with squash enabled when repository squash option is always 1`] = `
 Object {
   "displayNumber": "Merge Request #12345",
@@ -392,66 +11,6 @@ Object {
 }
 `;
 
-exports[`modules/platform/gitlab/index createPr(branchName, title, body) raises with squash enabled when repository squash option is always 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer some-token",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/user",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer some-token",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/version",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo",
-  },
-  Object {
-    "body": Object {
-      "description": "the-body",
-      "labels": "",
-      "remove_source_branch": true,
-      "source_branch": "some-branch",
-      "squash": true,
-      "target_branch": "master",
-      "title": "some-title",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "content-length": "156",
-      "content-type": "application/json",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo/merge_requests",
-  },
-]
-`;
-
 exports[`modules/platform/gitlab/index createPr(branchName, title, body) raises with squash enabled when repository squash option is default_on 1`] = `
 Object {
   "displayNumber": "Merge Request #12345",
@@ -463,66 +22,6 @@ Object {
 }
 `;
 
-exports[`modules/platform/gitlab/index createPr(branchName, title, body) raises with squash enabled when repository squash option is default_on 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer some-token",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/user",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer some-token",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/version",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo",
-  },
-  Object {
-    "body": Object {
-      "description": "the-body",
-      "labels": "",
-      "remove_source_branch": true,
-      "source_branch": "some-branch",
-      "squash": true,
-      "target_branch": "master",
-      "title": "some-title",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "content-length": "156",
-      "content-type": "application/json",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo/merge_requests",
-  },
-]
-`;
-
 exports[`modules/platform/gitlab/index createPr(branchName, title, body) returns the PR 1`] = `
 Object {
   "displayNumber": "Merge Request #12345",
@@ -534,169 +33,6 @@ Object {
 }
 `;
 
-exports[`modules/platform/gitlab/index createPr(branchName, title, body) returns the PR 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer some-token",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/user",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer some-token",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/version",
-  },
-  Object {
-    "body": Object {
-      "description": "the-body",
-      "labels": "",
-      "remove_source_branch": true,
-      "source_branch": "some-branch",
-      "target_branch": "master",
-      "title": "some-title",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "content-length": "142",
-      "content-type": "application/json",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://gitlab.com/api/v4/projects/undefined/merge_requests",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index createPr(branchName, title, body) silently ignores approval rules adding errors 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer some-token",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/user",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer some-token",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/version",
-  },
-  Object {
-    "body": Object {
-      "description": "the-body",
-      "labels": "",
-      "remove_source_branch": true,
-      "source_branch": "some-branch",
-      "target_branch": "master",
-      "title": "some-title",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "content-length": "142",
-      "content-type": "application/json",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://gitlab.com/api/v4/projects/undefined/merge_requests",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/undefined/merge_requests/12345/approval_rules",
-  },
-  Object {
-    "body": Object {
-      "approvals_required": 0,
-      "name": "renovateIgnoreApprovals",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "content-length": "57",
-      "content-type": "application/json",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://gitlab.com/api/v4/projects/undefined/merge_requests/12345/approval_rules",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/undefined/merge_requests/12345",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/undefined/merge_requests/12345",
-  },
-  Object {
-    "body": Object {
-      "merge_when_pipeline_succeeds": true,
-      "should_remove_source_branch": true,
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "content-length": "72",
-      "content-type": "application/json",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PUT",
-    "url": "https://gitlab.com/api/v4/projects/undefined/merge_requests/12345/merge",
-  },
-]
-`;
-
 exports[`modules/platform/gitlab/index createPr(branchName, title, body) supports draftPR on < 13.2 1`] = `
 Object {
   "displayNumber": "Merge Request #12345",
@@ -709,54 +45,6 @@ Object {
 }
 `;
 
-exports[`modules/platform/gitlab/index createPr(branchName, title, body) supports draftPR on < 13.2 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer some-token",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/user",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer some-token",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/version",
-  },
-  Object {
-    "body": Object {
-      "description": "the-body",
-      "labels": "",
-      "remove_source_branch": true,
-      "source_branch": "some-branch",
-      "target_branch": "master",
-      "title": "WIP: some-title",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "content-length": "147",
-      "content-type": "application/json",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://gitlab.com/api/v4/projects/undefined/merge_requests",
-  },
-]
-`;
-
 exports[`modules/platform/gitlab/index createPr(branchName, title, body) supports draftPR on >= 13.2 1`] = `
 Object {
   "displayNumber": "Merge Request #12345",
@@ -769,54 +57,6 @@ Object {
 }
 `;
 
-exports[`modules/platform/gitlab/index createPr(branchName, title, body) supports draftPR on >= 13.2 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer some-token",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/user",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer some-token",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/version",
-  },
-  Object {
-    "body": Object {
-      "description": "the-body",
-      "labels": "",
-      "remove_source_branch": true,
-      "source_branch": "some-branch",
-      "target_branch": "master",
-      "title": "Draft: some-title",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "content-length": "149",
-      "content-type": "application/json",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://gitlab.com/api/v4/projects/undefined/merge_requests",
-  },
-]
-`;
-
 exports[`modules/platform/gitlab/index createPr(branchName, title, body) uses default branch 1`] = `
 Object {
   "displayNumber": "Merge Request #12345",
@@ -828,1517 +68,72 @@ Object {
 }
 `;
 
-exports[`modules/platform/gitlab/index createPr(branchName, title, body) uses default branch 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer some-token",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/user",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer some-token",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/version",
-  },
-  Object {
-    "body": Object {
-      "description": "the-body",
-      "labels": "",
-      "remove_source_branch": true,
-      "source_branch": "some-branch",
-      "target_branch": "master",
-      "title": "some-title",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "content-length": "142",
-      "content-type": "application/json",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://gitlab.com/api/v4/projects/undefined/merge_requests",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index deleteLabel(issueNo, label) should delete the label 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/undefined/merge_requests/42?include_diverged_commits_count=1",
-  },
-  Object {
-    "body": Object {
-      "labels": "foo,renovate",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "content-length": "25",
-      "content-type": "application/json",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PUT",
-    "url": "https://gitlab.com/api/v4/projects/undefined/merge_requests/42",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index ensureComment add comment if not found 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo/merge_requests/42/notes",
-  },
-  Object {
-    "body": Object {
-      "body": "### some-subject
-
-some
-content",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "content-length": "44",
-      "content-type": "application/json",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo/merge_requests/42/notes",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index ensureComment add updates comment if necessary 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo/merge_requests/42/notes",
-  },
-  Object {
-    "body": Object {
-      "body": "### some-subject
-
-some
-content",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "content-length": "44",
-      "content-type": "application/json",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PUT",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo/merge_requests/42/notes/1234",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index ensureComment handles comment with no description 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo/merge_requests/42/notes",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index ensureComment skips comment 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo/merge_requests/42/notes",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index ensureCommentRemoval deletes comment by content if found 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo/merge_requests/42/notes",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "DELETE",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo/merge_requests/42/notes/1234",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index ensureCommentRemoval deletes comment by topic if found 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo/merge_requests/42/notes",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "DELETE",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo/merge_requests/42/notes/1234",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index ensureIssue() creates confidential issue 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/undefined/issues?per_page=100&scope=created_by_me&state=opened",
-  },
-  Object {
-    "body": Object {
-      "confidential": true,
-      "description": "new-content",
-      "labels": "",
-      "title": "new-title",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "content-length": "81",
-      "content-type": "application/json",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://gitlab.com/api/v4/projects/undefined/issues",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index ensureIssue() creates issue 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/undefined/issues?per_page=100&scope=created_by_me&state=opened",
-  },
-  Object {
-    "body": Object {
-      "confidential": false,
-      "description": "new-content",
-      "labels": "",
-      "title": "new-title",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "content-length": "82",
-      "content-type": "application/json",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://gitlab.com/api/v4/projects/undefined/issues",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index ensureIssue() sets issue labels 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/undefined/issues?per_page=100&scope=created_by_me&state=opened",
-  },
-  Object {
-    "body": Object {
-      "confidential": false,
-      "description": "new-content",
-      "labels": "Renovate,Maintenance",
-      "title": "new-title",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "content-length": "102",
-      "content-type": "application/json",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://gitlab.com/api/v4/projects/undefined/issues",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index ensureIssue() skips update if unchanged 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/undefined/issues?per_page=100&scope=created_by_me&state=opened",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/undefined/issues/2",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index ensureIssue() updates confidential issue 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/undefined/issues?per_page=100&scope=created_by_me&state=opened",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/undefined/issues/2",
-  },
-  Object {
-    "body": Object {
-      "confidential": true,
-      "description": "newer-content",
-      "labels": "Renovate,Maintenance",
-      "title": "title-2",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "content-length": "101",
-      "content-type": "application/json",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PUT",
-    "url": "https://gitlab.com/api/v4/projects/undefined/issues/2",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index ensureIssue() updates issue 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/undefined/issues?per_page=100&scope=created_by_me&state=opened",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/undefined/issues/2",
-  },
-  Object {
-    "body": Object {
-      "confidential": false,
-      "description": "newer-content",
-      "labels": "",
-      "title": "title-2",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "content-length": "82",
-      "content-type": "application/json",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PUT",
-    "url": "https://gitlab.com/api/v4/projects/undefined/issues/2",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index ensureIssue() updates issue with labels 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/undefined/issues?per_page=100&scope=created_by_me&state=opened",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/undefined/issues/2",
-  },
-  Object {
-    "body": Object {
-      "confidential": false,
-      "description": "newer-content",
-      "labels": "Renovate,Maintenance",
-      "title": "title-2",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "content-length": "102",
-      "content-type": "application/json",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PUT",
-    "url": "https://gitlab.com/api/v4/projects/undefined/issues/2",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index ensureIssueClosing() closes issue 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/undefined/issues?per_page=100&scope=created_by_me&state=opened",
-  },
-  Object {
-    "body": Object {
-      "state_event": "close",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "content-length": "23",
-      "content-type": "application/json",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PUT",
-    "url": "https://gitlab.com/api/v4/projects/undefined/issues/2",
-  },
-]
-`;
-
 exports[`modules/platform/gitlab/index filterUnavailableUsers(users) filters users that are busy 1`] = `
 Array [
-  "john",
-]
-`;
-
-exports[`modules/platform/gitlab/index filterUnavailableUsers(users) filters users that are busy 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/users/maria/status",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/users/john/status",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index filterUnavailableUsers(users) keeps users with failing requests 1`] = `
-Array [
-  "maria",
-]
-`;
-
-exports[`modules/platform/gitlab/index filterUnavailableUsers(users) keeps users with failing requests 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/users/maria/status",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index filterUnavailableUsers(users) keeps users with missing availability 1`] = `
-Array [
-  "maria",
-]
-`;
-
-exports[`modules/platform/gitlab/index filterUnavailableUsers(users) keeps users with missing availability 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/users/maria/status",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index findIssue() finds issue 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/undefined/issues?per_page=100&scope=created_by_me&state=opened",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/undefined/issues/2",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index findIssue() returns null if no issue 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/undefined/issues?per_page=100&scope=created_by_me&state=opened",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index findPr(branchName, prTitle, state) returns true if no title and all state 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/undefined/merge_requests?per_page=100&scope=created_by_me",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index findPr(branchName, prTitle, state) returns true if not open 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/undefined/merge_requests?per_page=100&scope=created_by_me",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index findPr(branchName, prTitle, state) returns true if open and with title 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/undefined/merge_requests?per_page=100&scope=created_by_me",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index findPr(branchName, prTitle, state) returns true with deprecated draft prefix title 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/undefined/merge_requests?per_page=100&scope=created_by_me",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index findPr(branchName, prTitle, state) returns true with draft prefix title 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/undefined/merge_requests?per_page=100&scope=created_by_me",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index findPr(branchName, prTitle, state) returns true with title 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/undefined/merge_requests?per_page=100&scope=created_by_me",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index getBranchPr(branchName) should return null if no PR exists 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo/merge_requests?per_page=100&scope=created_by_me",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index getBranchPr(branchName) should return the PR object 1`] = `
-Object {
-  "body": undefined,
-  "displayNumber": "Merge Request #91",
-  "hasAssignees": false,
-  "hasReviewers": false,
-  "labels": undefined,
-  "number": 91,
-  "sha": undefined,
-  "sourceBranch": "some-branch",
-  "state": "open",
-  "targetBranch": "master",
-  "title": "some change",
-}
-`;
-
-exports[`modules/platform/gitlab/index getBranchPr(branchName) should return the PR object 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo/merge_requests?per_page=100&scope=created_by_me",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo/merge_requests/91?include_diverged_commits_count=1",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index getBranchPr(branchName) should strip deprecated draft prefix from title 1`] = `
-Object {
-  "body": undefined,
-  "displayNumber": "Merge Request #91",
-  "hasAssignees": false,
-  "hasReviewers": false,
-  "isDraft": true,
-  "labels": undefined,
-  "number": 91,
-  "sha": undefined,
-  "sourceBranch": "some-branch",
-  "state": "open",
-  "targetBranch": "master",
-  "title": "some change",
-}
-`;
-
-exports[`modules/platform/gitlab/index getBranchPr(branchName) should strip deprecated draft prefix from title 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo/merge_requests?per_page=100&scope=created_by_me",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo/merge_requests/91?include_diverged_commits_count=1",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index getBranchPr(branchName) should strip draft prefix from title 1`] = `
-Object {
-  "body": undefined,
-  "displayNumber": "Merge Request #91",
-  "hasAssignees": false,
-  "hasReviewers": false,
-  "isDraft": true,
-  "labels": undefined,
-  "number": 91,
-  "sha": undefined,
-  "sourceBranch": "some-branch",
-  "state": "open",
-  "targetBranch": "master",
-  "title": "some change",
-}
-`;
-
-exports[`modules/platform/gitlab/index getBranchPr(branchName) should strip draft prefix from title 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo/merge_requests?per_page=100&scope=created_by_me",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo/merge_requests/91?include_diverged_commits_count=1",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index getBranchStatus(branchName, ignoreTests) maps custom statuses to yellow 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo/repository/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e/statuses",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index getBranchStatus(branchName, ignoreTests) returns failure if any mandatory jobs fails 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo/repository/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e/statuses",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index getBranchStatus(branchName, ignoreTests) returns failure if any mandatory jobs fails and one job is skipped 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo/repository/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e/statuses",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index getBranchStatus(branchName, ignoreTests) returns pending if no results 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo/repository/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e/statuses",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index getBranchStatus(branchName, ignoreTests) returns success if all are optional 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo/repository/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e/statuses",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index getBranchStatus(branchName, ignoreTests) returns success if all are success 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo/repository/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e/statuses",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index getBranchStatus(branchName, ignoreTests) returns success if job is skipped 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo/repository/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e/statuses",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index getBranchStatus(branchName, ignoreTests) returns success if optional jobs fail 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo/repository/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e/statuses",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index getBranchStatus(branchName, ignoreTests) returns yellow if there are no jobs expect skipped 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo/repository/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e/statuses",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index getBranchStatus(branchName, ignoreTests) throws repository-changed 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index getBranchStatusCheck returns null if no matching results 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo/repository/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e/statuses",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index getBranchStatusCheck returns null if no results 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo/repository/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e/statuses",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index getBranchStatusCheck returns status if name found 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo/repository/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e/statuses",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index getJsonFile() returns file content 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo/repository/files/dir%2Ffile.json?ref=HEAD",
-  },
+  "john",
 ]
 `;
 
-exports[`modules/platform/gitlab/index getJsonFile() returns file content from branch or tag 1`] = `
+exports[`modules/platform/gitlab/index filterUnavailableUsers(users) keeps users with failing requests 1`] = `
 Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo/repository/files/dir%2Ffile.json?ref=dev",
-  },
+  "maria",
 ]
 `;
 
-exports[`modules/platform/gitlab/index getJsonFile() returns file content from given repo 1`] = `
+exports[`modules/platform/gitlab/index filterUnavailableUsers(users) keeps users with missing availability 1`] = `
 Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/different%2Frepo/repository/files/dir%2Ffile.json?ref=HEAD",
-  },
+  "maria",
 ]
 `;
 
-exports[`modules/platform/gitlab/index getJsonFile() returns file content in json5 format 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo/repository/files/dir%2Ffile.json5?ref=HEAD",
-  },
-]
+exports[`modules/platform/gitlab/index getBranchPr(branchName) should return the PR object 1`] = `
+Object {
+  "body": undefined,
+  "displayNumber": "Merge Request #91",
+  "hasAssignees": false,
+  "hasReviewers": false,
+  "labels": undefined,
+  "number": 91,
+  "sha": undefined,
+  "sourceBranch": "some-branch",
+  "state": "open",
+  "targetBranch": "master",
+  "title": "some change",
+}
 `;
 
-exports[`modules/platform/gitlab/index getJsonFile() throws on errors 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo/repository/files/dir%2Ffile.json?ref=HEAD",
-  },
-]
+exports[`modules/platform/gitlab/index getBranchPr(branchName) should strip deprecated draft prefix from title 1`] = `
+Object {
+  "body": undefined,
+  "displayNumber": "Merge Request #91",
+  "hasAssignees": false,
+  "hasReviewers": false,
+  "isDraft": true,
+  "labels": undefined,
+  "number": 91,
+  "sha": undefined,
+  "sourceBranch": "some-branch",
+  "state": "open",
+  "targetBranch": "master",
+  "title": "some change",
+}
 `;
 
-exports[`modules/platform/gitlab/index getJsonFile() throws on malformed JSON 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo/repository/files/dir%2Ffile.json?ref=HEAD",
-  },
-]
+exports[`modules/platform/gitlab/index getBranchPr(branchName) should strip draft prefix from title 1`] = `
+Object {
+  "body": undefined,
+  "displayNumber": "Merge Request #91",
+  "hasAssignees": false,
+  "hasReviewers": false,
+  "isDraft": true,
+  "labels": undefined,
+  "number": 91,
+  "sha": undefined,
+  "sourceBranch": "some-branch",
+  "state": "open",
+  "targetBranch": "master",
+  "title": "some change",
+}
 `;
 
 exports[`modules/platform/gitlab/index getPr(prNo) removes deprecated draft prefix from returned title 1`] = `
@@ -2358,22 +153,6 @@ Object {
 }
 `;
 
-exports[`modules/platform/gitlab/index getPr(prNo) removes deprecated draft prefix from returned title 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/undefined/merge_requests/12345?include_diverged_commits_count=1",
-  },
-]
-`;
-
 exports[`modules/platform/gitlab/index getPr(prNo) removes draft prefix from returned title 1`] = `
 Object {
   "body": "a merge request",
@@ -2391,22 +170,6 @@ Object {
 }
 `;
 
-exports[`modules/platform/gitlab/index getPr(prNo) removes draft prefix from returned title 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/undefined/merge_requests/12345?include_diverged_commits_count=1",
-  },
-]
-`;
-
 exports[`modules/platform/gitlab/index getPr(prNo) returns the PR 1`] = `
 Object {
   "body": "a merge request",
@@ -2423,22 +186,6 @@ Object {
 }
 `;
 
-exports[`modules/platform/gitlab/index getPr(prNo) returns the PR 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/undefined/merge_requests/12345?include_diverged_commits_count=1",
-  },
-]
-`;
-
 exports[`modules/platform/gitlab/index getPr(prNo) returns the PR with nonexisting branch 1`] = `
 Object {
   "body": "a merge request",
@@ -2455,22 +202,6 @@ Object {
 }
 `;
 
-exports[`modules/platform/gitlab/index getPr(prNo) returns the PR with nonexisting branch 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/undefined/merge_requests/12345?include_diverged_commits_count=1",
-  },
-]
-`;
-
 exports[`modules/platform/gitlab/index getPr(prNo) returns the mergeable PR 1`] = `
 Object {
   "body": "a merge request",
@@ -2487,65 +218,6 @@ Object {
 }
 `;
 
-exports[`modules/platform/gitlab/index getPr(prNo) returns the mergeable PR 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo/merge_requests/12345?include_diverged_commits_count=1",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index getRepoForceRebase should return false 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo%2Fproject",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index getRepoForceRebase should return true 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo%2Fproject",
-  },
-]
-`;
-
 exports[`modules/platform/gitlab/index getRepos should return an array of repos 1`] = `
 Array [
   "a/b",
@@ -2553,38 +225,6 @@ Array [
 ]
 `;
 
-exports[`modules/platform/gitlab/index getRepos should return an array of repos 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects?membership=true&per_page=100&with_merge_requests_enabled=true&min_access_level=30",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index getRepos should throw an error if it receives an error 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects?membership=true&per_page=100&with_merge_requests_enabled=true&min_access_level=30",
-  },
-]
-`;
-
 exports[`modules/platform/gitlab/index initPlatform() should accept custom endpoint 1`] = `
 Object {
   "endpoint": "https://gitlab.renovatebot.com/",
@@ -2592,33 +232,6 @@ Object {
 }
 `;
 
-exports[`modules/platform/gitlab/index initPlatform() should accept custom endpoint 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer some-token",
-      "host": "gitlab.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.renovatebot.com/user",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer some-token",
-      "host": "gitlab.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.renovatebot.com/version",
-  },
-]
-`;
-
 exports[`modules/platform/gitlab/index initPlatform() should default to gitlab.com 1`] = `
 Object {
   "endpoint": "https://gitlab.com/api/v4/",
@@ -2626,81 +239,6 @@ Object {
 }
 `;
 
-exports[`modules/platform/gitlab/index initPlatform() should default to gitlab.com 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer some-token",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/user",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer some-token",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/version",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index initPlatform() should throw if auth fails 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer some-token",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/user",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index initRepo should escape all forward slashes in project names 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo%2Fproject",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index initRepo should fall back if http_url_to_repo is empty 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo%2Fproject",
-  },
-]
-`;
-
 exports[`modules/platform/gitlab/index initRepo should fall back respecting when GITLAB_IGNORE_REPO_URL is set 1`] = `
 Array [
   Array [
@@ -2716,189 +254,7 @@ Array [
 ]
 `;
 
-exports[`modules/platform/gitlab/index initRepo should fall back respecting when GITLAB_IGNORE_REPO_URL is set 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer mytoken",
-      "host": "mycompany.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "http://mycompany.com/gitlab/api/v4/user",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer mytoken",
-      "host": "mycompany.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "http://mycompany.com/gitlab/api/v4/version",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "mycompany.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "http://mycompany.com/gitlab/api/v4/projects/some%2Frepo%2Fproject",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index initRepo should throw an error if MRs are disabled 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index initRepo should throw an error if receiving an error 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index initRepo should throw an error if repository access is disabled 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index initRepo should throw an error if repository has empty_repo property 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index initRepo should throw an error if repository is a mirror 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index initRepo should throw an error if repository is archived 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index initRepo should throw an error if repository is empty 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index initRepo should throw if ssh_url_to_repo is not present but gitUrl is set to ssh 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo%2Fproject",
-  },
-]
-`;
-
 exports[`modules/platform/gitlab/index initRepo should use ssh_url_to_repo if gitUrl is set to ssh 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo%2Fproject",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index initRepo should use ssh_url_to_repo if gitUrl is set to ssh 2`] = `
 Array [
   Array [
     Object {
@@ -2925,383 +281,3 @@ These updates have all been created already. Click a checkbox below to force a r
  - [ ] <!-- rebase-branch=renovate/major-got-packages -->[build(deps): update got packages (major)](!2433) (\`gh-got\`, \`gl-got\`, \`got\`)
 "
 `;
-
-exports[`modules/platform/gitlab/index mergePr(pr) merges the PR 1`] = `
-Array [
-  Object {
-    "body": Object {
-      "should_remove_source_branch": true,
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "content-length": "36",
-      "content-type": "application/json",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PUT",
-    "url": "https://gitlab.com/api/v4/projects/undefined/merge_requests/1/merge",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index setBranchStatus sets branch status green 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo",
-  },
-  Object {
-    "body": Object {
-      "context": "some-context",
-      "description": "some-description",
-      "state": "success",
-      "target_url": "some-url",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "content-length": "101",
-      "content-type": "application/json",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo/statuses/0d9c7726c3d628b7e28af234595cfd20febdbf8e",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo/repository/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e/statuses",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index setBranchStatus sets branch status red 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo",
-  },
-  Object {
-    "body": Object {
-      "context": "some-context",
-      "description": "some-description",
-      "state": "failed",
-      "target_url": "some-url",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "content-length": "100",
-      "content-type": "application/json",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo/statuses/0d9c7726c3d628b7e28af234595cfd20febdbf8e",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo/repository/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e/statuses",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index setBranchStatus sets branch status yellow 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo",
-  },
-  Object {
-    "body": Object {
-      "context": "some-context",
-      "description": "some-description",
-      "state": "pending",
-      "target_url": "some-url",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "content-length": "101",
-      "content-type": "application/json",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo/statuses/0d9c7726c3d628b7e28af234595cfd20febdbf8e",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Frepo/repository/commits/0d9c7726c3d628b7e28af234595cfd20febdbf8e/statuses",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index updatePr(prNo, title, body) closes the PR 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer some-token",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/user",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer some-token",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/version",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/undefined/merge_requests?per_page=100&scope=created_by_me",
-  },
-  Object {
-    "body": Object {
-      "description": "body",
-      "state_event": "close",
-      "title": "title",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "content-length": "60",
-      "content-type": "application/json",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PUT",
-    "url": "https://gitlab.com/api/v4/projects/undefined/merge_requests/1",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index updatePr(prNo, title, body) retains draft status when draft uses current prefix 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer some-token",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/user",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer some-token",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/version",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/undefined/merge_requests?per_page=100&scope=created_by_me",
-  },
-  Object {
-    "body": Object {
-      "description": "body",
-      "title": "Draft: title",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "content-length": "45",
-      "content-type": "application/json",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PUT",
-    "url": "https://gitlab.com/api/v4/projects/undefined/merge_requests/1",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index updatePr(prNo, title, body) retains draft status when draft uses deprecated prefix 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer some-token",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/user",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer some-token",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/version",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/undefined/merge_requests?per_page=100&scope=created_by_me",
-  },
-  Object {
-    "body": Object {
-      "description": "body",
-      "title": "Draft: title",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "content-length": "45",
-      "content-type": "application/json",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PUT",
-    "url": "https://gitlab.com/api/v4/projects/undefined/merge_requests/1",
-  },
-]
-`;
-
-exports[`modules/platform/gitlab/index updatePr(prNo, title, body) updates the PR 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer some-token",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/user",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer some-token",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/version",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/undefined/merge_requests?per_page=100&scope=created_by_me",
-  },
-  Object {
-    "body": Object {
-      "description": "body",
-      "title": "title",
-    },
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer 123test",
-      "content-length": "38",
-      "content-type": "application/json",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "PUT",
-    "url": "https://gitlab.com/api/v4/projects/undefined/merge_requests/1",
-  },
-]
-`;
diff --git a/lib/modules/platform/gitlab/index.spec.ts b/lib/modules/platform/gitlab/index.spec.ts
index 8b194ac23c4ee6383ae7cc1b9f313f7856821089..f90e11450b11c0a1e1f9c71672f4a38b4c1d3045 100644
--- a/lib/modules/platform/gitlab/index.spec.ts
+++ b/lib/modules/platform/gitlab/index.spec.ts
@@ -77,7 +77,6 @@ describe('modules/platform/gitlab/index', () => {
         endpoint: undefined,
       });
       await expect(res).rejects.toThrow('Init: Authentication failure');
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it(`should default to gitlab.com`, async () => {
       httpMock.scope(gitlabApiHost).get('/api/v4/user').reply(200, {
@@ -93,7 +92,6 @@ describe('modules/platform/gitlab/index', () => {
           endpoint: undefined,
         })
       ).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it(`should accept custom endpoint`, async () => {
       const endpoint = 'https://gitlab.renovatebot.com';
@@ -114,7 +112,6 @@ describe('modules/platform/gitlab/index', () => {
           token: 'some-token',
         })
       ).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it(`should reuse existing gitAuthor`, async () => {
@@ -140,7 +137,6 @@ describe('modules/platform/gitlab/index', () => {
         )
         .replyWithError('getRepos error');
       await expect(gitlab.getRepos()).rejects.toThrow('getRepos error');
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('should return an array of repos', async () => {
       httpMock
@@ -166,7 +162,6 @@ describe('modules/platform/gitlab/index', () => {
         ]);
       const repos = await gitlab.getRepos();
       expect(repos).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 
@@ -197,10 +192,16 @@ describe('modules/platform/gitlab/index', () => {
         .scope(gitlabApiHost)
         .get('/api/v4/projects/some%2Frepo%2Fproject')
         .reply(200, okReturn);
-      await gitlab.initRepo({
-        repository: 'some/repo/project',
-      });
-      expect(httpMock.getTrace()).toMatchSnapshot();
+      expect(
+        await gitlab.initRepo({
+          repository: 'some/repo/project',
+        })
+      ).toMatchInlineSnapshot(`
+        Object {
+          "defaultBranch": "master",
+          "isFork": false,
+        }
+      `);
     });
     it('should throw an error if receiving an error', async () => {
       httpMock
@@ -212,7 +213,6 @@ describe('modules/platform/gitlab/index', () => {
           repository: 'some/repo',
         })
       ).rejects.toThrow('always error');
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('should throw an error if repository is archived', async () => {
       httpMock
@@ -224,7 +224,6 @@ describe('modules/platform/gitlab/index', () => {
           repository: 'some/repo',
         })
       ).rejects.toThrow(REPOSITORY_ARCHIVED);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('should throw an error if repository is a mirror', async () => {
       httpMock
@@ -236,7 +235,6 @@ describe('modules/platform/gitlab/index', () => {
           repository: 'some/repo',
         })
       ).rejects.toThrow(REPOSITORY_MIRRORED);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('should throw an error if repository access is disabled', async () => {
       httpMock
@@ -248,7 +246,6 @@ describe('modules/platform/gitlab/index', () => {
           repository: 'some/repo',
         })
       ).rejects.toThrow(REPOSITORY_DISABLED);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('should throw an error if MRs are disabled', async () => {
       httpMock
@@ -260,7 +257,6 @@ describe('modules/platform/gitlab/index', () => {
           repository: 'some/repo',
         })
       ).rejects.toThrow(REPOSITORY_DISABLED);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('should throw an error if repository has empty_repo property', async () => {
       httpMock
@@ -272,7 +268,6 @@ describe('modules/platform/gitlab/index', () => {
           repository: 'some/repo',
         })
       ).rejects.toThrow(REPOSITORY_EMPTY);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('should throw an error if repository is empty', async () => {
       httpMock
@@ -284,7 +279,6 @@ describe('modules/platform/gitlab/index', () => {
           repository: 'some/repo',
         })
       ).rejects.toThrow(REPOSITORY_EMPTY);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('should fall back if http_url_to_repo is empty', async () => {
       httpMock
@@ -294,10 +288,16 @@ describe('modules/platform/gitlab/index', () => {
           default_branch: 'master',
           http_url_to_repo: null,
         });
-      await gitlab.initRepo({
-        repository: 'some/repo/project',
-      });
-      expect(httpMock.getTrace()).toMatchSnapshot();
+      expect(
+        await gitlab.initRepo({
+          repository: 'some/repo/project',
+        })
+      ).toMatchInlineSnapshot(`
+        Object {
+          "defaultBranch": "master",
+          "isFork": false,
+        }
+      `);
     });
 
     it('should use ssh_url_to_repo if gitUrl is set to ssh', async () => {
@@ -313,7 +313,7 @@ describe('modules/platform/gitlab/index', () => {
         repository: 'some/repo/project',
         gitUrl: 'ssh',
       });
-      expect(httpMock.getTrace()).toMatchSnapshot();
+
       expect(git.initRepo.mock.calls).toMatchSnapshot();
     });
 
@@ -331,7 +331,6 @@ describe('modules/platform/gitlab/index', () => {
           gitUrl: 'ssh',
         })
       ).rejects.toThrow(CONFIG_GIT_URL_UNAVAILABLE);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('should fall back respecting when GITLAB_IGNORE_REPO_URL is set', async () => {
@@ -363,7 +362,6 @@ describe('modules/platform/gitlab/index', () => {
         repository: 'some/repo/project',
       });
       expect(git.initRepo.mock.calls).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
   describe('getRepoForceRebase', () => {
@@ -379,7 +377,6 @@ describe('modules/platform/gitlab/index', () => {
         }
       );
       expect(await gitlab.getRepoForceRebase()).toBeFalse();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('should return true', async () => {
@@ -394,7 +391,6 @@ describe('modules/platform/gitlab/index', () => {
         }
       );
       expect(await gitlab.getRepoForceRebase()).toBeTrue();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 
@@ -408,7 +404,6 @@ describe('modules/platform/gitlab/index', () => {
         .reply(200, []);
       const pr = await gitlab.getBranchPr('some-branch');
       expect(pr).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('should return the PR object', async () => {
       const scope = await initRepo();
@@ -443,7 +438,6 @@ describe('modules/platform/gitlab/index', () => {
         });
       const pr = await gitlab.getBranchPr('some-branch');
       expect(pr).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('should strip draft prefix from title', async () => {
       const scope = await initRepo();
@@ -478,7 +472,6 @@ describe('modules/platform/gitlab/index', () => {
         });
       const pr = await gitlab.getBranchPr('some-branch');
       expect(pr).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('should strip deprecated draft prefix from title', async () => {
       const scope = await initRepo();
@@ -513,7 +506,6 @@ describe('modules/platform/gitlab/index', () => {
         });
       const pr = await gitlab.getBranchPr('some-branch');
       expect(pr).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
   describe('getBranchStatus(branchName, ignoreTests)', () => {
@@ -526,7 +518,6 @@ describe('modules/platform/gitlab/index', () => {
         .reply(200, []);
       const res = await gitlab.getBranchStatus('somebranch');
       expect(res).toEqual(BranchStatus.yellow);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns success if all are success', async () => {
       const scope = await initRepo();
@@ -537,7 +528,6 @@ describe('modules/platform/gitlab/index', () => {
         .reply(200, [{ status: 'success' }, { status: 'success' }]);
       const res = await gitlab.getBranchStatus('somebranch');
       expect(res).toEqual(BranchStatus.green);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns success if optional jobs fail', async () => {
       const scope = await initRepo();
@@ -551,7 +541,6 @@ describe('modules/platform/gitlab/index', () => {
         ]);
       const res = await gitlab.getBranchStatus('somebranch');
       expect(res).toEqual(BranchStatus.green);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns success if all are optional', async () => {
       const scope = await initRepo();
@@ -562,7 +551,6 @@ describe('modules/platform/gitlab/index', () => {
         .reply(200, [{ status: 'failed', allow_failure: true }]);
       const res = await gitlab.getBranchStatus('somebranch');
       expect(res).toEqual(BranchStatus.green);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns success if job is skipped', async () => {
       const scope = await initRepo();
@@ -573,7 +561,6 @@ describe('modules/platform/gitlab/index', () => {
         .reply(200, [{ status: 'success' }, { status: 'skipped' }]);
       const res = await gitlab.getBranchStatus('somebranch');
       expect(res).toEqual(BranchStatus.green);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns yellow if there are no jobs expect skipped', async () => {
       const scope = await initRepo();
@@ -584,7 +571,6 @@ describe('modules/platform/gitlab/index', () => {
         .reply(200, [{ status: 'skipped' }]);
       const res = await gitlab.getBranchStatus('somebranch');
       expect(res).toEqual(BranchStatus.yellow);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns failure if any mandatory jobs fails and one job is skipped', async () => {
       const scope = await initRepo();
@@ -595,7 +581,6 @@ describe('modules/platform/gitlab/index', () => {
         .reply(200, [{ status: 'skipped' }, { status: 'failed' }]);
       const res = await gitlab.getBranchStatus('somebranch');
       expect(res).toEqual(BranchStatus.red);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns failure if any mandatory jobs fails', async () => {
       const scope = await initRepo();
@@ -610,7 +595,6 @@ describe('modules/platform/gitlab/index', () => {
         ]);
       const res = await gitlab.getBranchStatus('somebranch');
       expect(res).toEqual(BranchStatus.red);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('maps custom statuses to yellow', async () => {
       const scope = await initRepo();
@@ -621,16 +605,14 @@ describe('modules/platform/gitlab/index', () => {
         .reply(200, [{ status: 'success' }, { status: 'foo' }]);
       const res = await gitlab.getBranchStatus('somebranch');
       expect(res).toEqual(BranchStatus.yellow);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('throws repository-changed', async () => {
-      expect.assertions(2);
+      expect.assertions(1);
       git.branchExists.mockReturnValue(false);
       await initRepo();
       await expect(gitlab.getBranchStatus('somebranch')).rejects.toThrow(
         REPOSITORY_CHANGED
       );
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
   describe('getBranchStatusCheck', () => {
@@ -646,7 +628,6 @@ describe('modules/platform/gitlab/index', () => {
         'some-context'
       );
       expect(res).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns null if no matching results', async () => {
       const scope = await initRepo();
@@ -660,7 +641,6 @@ describe('modules/platform/gitlab/index', () => {
         'some-context'
       );
       expect(res).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns status if name found', async () => {
       const scope = await initRepo();
@@ -678,7 +658,6 @@ describe('modules/platform/gitlab/index', () => {
         'some-context'
       );
       expect(res).toEqual(BranchStatus.green);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
   describe('setBranchStatus', () => {
@@ -696,14 +675,15 @@ describe('modules/platform/gitlab/index', () => {
           )
           .reply(200, []);
 
-        await gitlab.setBranchStatus({
-          branchName: 'some-branch',
-          context: 'some-context',
-          description: 'some-description',
-          state,
-          url: 'some-url',
-        });
-        expect(httpMock.getTrace()).toMatchSnapshot();
+        await expect(
+          gitlab.setBranchStatus({
+            branchName: 'some-branch',
+            context: 'some-context',
+            description: 'some-description',
+            state,
+            url: 'some-url',
+          })
+        ).toResolve();
       }
     );
   });
@@ -727,7 +707,6 @@ describe('modules/platform/gitlab/index', () => {
         ]);
       const res = await gitlab.findIssue('title-3');
       expect(res).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('finds issue', async () => {
       httpMock
@@ -749,7 +728,6 @@ describe('modules/platform/gitlab/index', () => {
         .reply(200, { description: 'new-content' });
       const res = await gitlab.findIssue('title-2');
       expect(res).not.toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
   describe('ensureIssue()', () => {
@@ -776,7 +754,6 @@ describe('modules/platform/gitlab/index', () => {
         body: 'new-content',
       });
       expect(res).toBe('created');
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('sets issue labels', async () => {
@@ -794,7 +771,6 @@ describe('modules/platform/gitlab/index', () => {
         labels: ['Renovate', 'Maintenance'],
       });
       expect(res).toBe('created');
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('updates issue', async () => {
@@ -822,7 +798,6 @@ describe('modules/platform/gitlab/index', () => {
         body: 'newer-content',
       });
       expect(res).toBe('updated');
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('updates issue with labels', async () => {
@@ -851,7 +826,6 @@ describe('modules/platform/gitlab/index', () => {
         labels: ['Renovate', 'Maintenance'],
       });
       expect(res).toBe('updated');
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('skips update if unchanged', async () => {
@@ -877,7 +851,6 @@ describe('modules/platform/gitlab/index', () => {
         body: 'newer-content',
       });
       expect(res).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('creates confidential issue', async () => {
@@ -904,7 +877,6 @@ describe('modules/platform/gitlab/index', () => {
         confidential: true,
       });
       expect(res).toBe('created');
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('updates confidential issue', async () => {
@@ -934,7 +906,6 @@ describe('modules/platform/gitlab/index', () => {
         confidential: true,
       });
       expect(res).toBe('updated');
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
   describe('ensureIssueClosing()', () => {
@@ -956,8 +927,7 @@ describe('modules/platform/gitlab/index', () => {
         ])
         .put('/api/v4/projects/undefined/issues/2')
         .reply(200);
-      await gitlab.ensureIssueClosing('title-2');
-      expect(httpMock.getTrace()).toMatchSnapshot();
+      await expect(gitlab.ensureIssueClosing('title-2')).toResolve();
     });
   });
 
@@ -969,8 +939,7 @@ describe('modules/platform/gitlab/index', () => {
         .reply(200, [{ id: 123 }])
         .put('/api/v4/projects/undefined/merge_requests/42?assignee_ids[]=123')
         .reply(200);
-      await gitlab.addAssignees(42, ['someuser']);
-      expect(httpMock.getTrace()).toMatchSnapshot();
+      await expect(gitlab.addAssignees(42, ['someuser'])).toResolve();
     });
     it('should add the given assignees to the issue', async () => {
       httpMock
@@ -983,16 +952,18 @@ describe('modules/platform/gitlab/index', () => {
           '/api/v4/projects/undefined/merge_requests/42?assignee_ids[]=123&assignee_ids[]=124'
         )
         .reply(200);
-      await gitlab.addAssignees(42, ['someuser', 'someotheruser']);
-      expect(httpMock.getTrace()).toMatchSnapshot();
+      await expect(
+        gitlab.addAssignees(42, ['someuser', 'someotheruser'])
+      ).toResolve();
     });
     it('should swallow error', async () => {
       httpMock
         .scope(gitlabApiHost)
         .get('/api/v4/users?username=someuser')
         .replyWithError('some error');
-      await gitlab.addAssignees(42, ['someuser', 'someotheruser']);
-      expect(httpMock.getTrace()).toMatchSnapshot();
+      await expect(
+        gitlab.addAssignees(42, ['someuser', 'someotheruser'])
+      ).toResolve();
     });
   });
 
@@ -1114,12 +1085,13 @@ describe('modules/platform/gitlab/index', () => {
         .reply(200, [])
         .post('/api/v4/projects/some%2Frepo/merge_requests/42/notes')
         .reply(200);
-      await gitlab.ensureComment({
-        number: 42,
-        topic: 'some-subject',
-        content: 'some\ncontent',
-      });
-      expect(httpMock.getTrace()).toMatchSnapshot();
+      await expect(
+        gitlab.ensureComment({
+          number: 42,
+          topic: 'some-subject',
+          content: 'some\ncontent',
+        })
+      ).toResolve();
     });
     it('add updates comment if necessary', async () => {
       const scope = await initRepo();
@@ -1128,36 +1100,39 @@ describe('modules/platform/gitlab/index', () => {
         .reply(200, [{ id: 1234, body: '### some-subject\n\nblablabla' }])
         .put('/api/v4/projects/some%2Frepo/merge_requests/42/notes/1234')
         .reply(200);
-      await gitlab.ensureComment({
-        number: 42,
-        topic: 'some-subject',
-        content: 'some\ncontent',
-      });
-      expect(httpMock.getTrace()).toMatchSnapshot();
+      await expect(
+        gitlab.ensureComment({
+          number: 42,
+          topic: 'some-subject',
+          content: 'some\ncontent',
+        })
+      ).toResolve();
     });
     it('skips comment', async () => {
       const scope = await initRepo();
       scope
         .get('/api/v4/projects/some%2Frepo/merge_requests/42/notes')
         .reply(200, [{ id: 1234, body: '### some-subject\n\nsome\ncontent' }]);
-      await gitlab.ensureComment({
-        number: 42,
-        topic: 'some-subject',
-        content: 'some\ncontent',
-      });
-      expect(httpMock.getTrace()).toMatchSnapshot();
+      await expect(
+        gitlab.ensureComment({
+          number: 42,
+          topic: 'some-subject',
+          content: 'some\ncontent',
+        })
+      ).toResolve();
     });
     it('handles comment with no description', async () => {
       const scope = await initRepo();
       scope
         .get('/api/v4/projects/some%2Frepo/merge_requests/42/notes')
         .reply(200, [{ id: 1234, body: '!merge' }]);
-      await gitlab.ensureComment({
-        number: 42,
-        topic: null,
-        content: '!merge',
-      });
-      expect(httpMock.getTrace()).toMatchSnapshot();
+      await expect(
+        gitlab.ensureComment({
+          number: 42,
+          topic: null,
+          content: '!merge',
+        })
+      ).toResolve();
     });
   });
   describe('ensureCommentRemoval', () => {
@@ -1168,12 +1143,13 @@ describe('modules/platform/gitlab/index', () => {
         .reply(200, [{ id: 1234, body: '### some-subject\n\nblablabla' }])
         .delete('/api/v4/projects/some%2Frepo/merge_requests/42/notes/1234')
         .reply(200);
-      await gitlab.ensureCommentRemoval({
-        type: 'by-topic',
-        number: 42,
-        topic: 'some-subject',
-      });
-      expect(httpMock.getTrace()).toMatchSnapshot();
+      await expect(
+        gitlab.ensureCommentRemoval({
+          type: 'by-topic',
+          number: 42,
+          topic: 'some-subject',
+        })
+      ).toResolve();
     });
     it('deletes comment by content if found', async () => {
       const scope = await initRepo();
@@ -1182,12 +1158,13 @@ describe('modules/platform/gitlab/index', () => {
         .reply(200, [{ id: 1234, body: 'some-body\n' }])
         .delete('/api/v4/projects/some%2Frepo/merge_requests/42/notes/1234')
         .reply(200);
-      await gitlab.ensureCommentRemoval({
-        type: 'by-content',
-        number: 42,
-        content: 'some-body',
-      });
-      expect(httpMock.getTrace()).toMatchSnapshot();
+      await expect(
+        gitlab.ensureCommentRemoval({
+          type: 'by-content',
+          number: 42,
+          content: 'some-body',
+        })
+      ).toResolve();
     });
   });
   describe('findPr(branchName, prTitle, state)', () => {
@@ -1209,7 +1186,6 @@ describe('modules/platform/gitlab/index', () => {
         branchName: 'branch-a',
       });
       expect(res).toBeDefined();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns true if not open', async () => {
       httpMock
@@ -1230,7 +1206,6 @@ describe('modules/platform/gitlab/index', () => {
         state: PrState.NotOpen,
       });
       expect(res).toBeDefined();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('returns true if open and with title', async () => {
@@ -1253,7 +1228,6 @@ describe('modules/platform/gitlab/index', () => {
         state: PrState.Open,
       });
       expect(res).toBeDefined();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('returns true with title', async () => {
@@ -1275,7 +1249,6 @@ describe('modules/platform/gitlab/index', () => {
         prTitle: 'branch a pr',
       });
       expect(res).toBeDefined();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns true with draft prefix title', async () => {
       httpMock
@@ -1296,7 +1269,6 @@ describe('modules/platform/gitlab/index', () => {
         prTitle: 'branch a pr',
       });
       expect(res).toBeDefined();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns true with deprecated draft prefix title', async () => {
       httpMock
@@ -1317,7 +1289,6 @@ describe('modules/platform/gitlab/index', () => {
         prTitle: 'branch a pr',
       });
       expect(res).toBeDefined();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 
@@ -1358,7 +1329,6 @@ describe('modules/platform/gitlab/index', () => {
         labels: null,
       });
       expect(pr).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('uses default branch', async () => {
       await initPlatform('13.3.6-ee');
@@ -1378,7 +1348,6 @@ describe('modules/platform/gitlab/index', () => {
         labels: [],
       });
       expect(pr).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('supports draftPR on < 13.2', async () => {
       await initPlatform('13.1.0-ee');
@@ -1398,7 +1367,6 @@ describe('modules/platform/gitlab/index', () => {
         draftPR: true,
       });
       expect(pr).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('supports draftPR on >= 13.2', async () => {
       await initPlatform('13.2.0-ee');
@@ -1418,7 +1386,6 @@ describe('modules/platform/gitlab/index', () => {
         draftPR: true,
       });
       expect(pr).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('auto-accepts the MR when requested', async () => {
       await initPlatform('13.3.6-ee');
@@ -1444,17 +1411,27 @@ describe('modules/platform/gitlab/index', () => {
         })
         .put('/api/v4/projects/undefined/merge_requests/12345/merge')
         .reply(200);
-      await gitlab.createPr({
-        sourceBranch: 'some-branch',
-        targetBranch: 'master',
-        prTitle: 'some-title',
-        prBody: 'the-body',
-        labels: [],
-        platformOptions: {
-          usePlatformAutomerge: true,
-        },
-      });
-      expect(httpMock.getTrace()).toMatchSnapshot();
+      expect(
+        await gitlab.createPr({
+          sourceBranch: 'some-branch',
+          targetBranch: 'master',
+          prTitle: 'some-title',
+          prBody: 'the-body',
+          labels: [],
+          platformOptions: {
+            usePlatformAutomerge: true,
+          },
+        })
+      ).toMatchInlineSnapshot(`
+        Object {
+          "displayNumber": "Merge Request #12345",
+          "id": 1,
+          "iid": 12345,
+          "number": 12345,
+          "sourceBranch": "some-branch",
+          "title": "some title",
+        }
+      `);
     });
 
     it('raises with squash enabled when repository squash option is default_on', async () => {
@@ -1487,7 +1464,6 @@ describe('modules/platform/gitlab/index', () => {
         labels: null,
       });
       expect(pr).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('raises with squash enabled when repository squash option is always', async () => {
@@ -1520,7 +1496,6 @@ describe('modules/platform/gitlab/index', () => {
         labels: null,
       });
       expect(pr).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('adds approval rule to ignore all approvals', async () => {
@@ -1551,18 +1526,28 @@ describe('modules/platform/gitlab/index', () => {
         .reply(200, [])
         .post('/api/v4/projects/undefined/merge_requests/12345/approval_rules')
         .reply(200);
-      await gitlab.createPr({
-        sourceBranch: 'some-branch',
-        targetBranch: 'master',
-        prTitle: 'some-title',
-        prBody: 'the-body',
-        labels: [],
-        platformOptions: {
-          usePlatformAutomerge: true,
-          gitLabIgnoreApprovals: true,
-        },
-      });
-      expect(httpMock.getTrace()).toMatchSnapshot();
+      expect(
+        await gitlab.createPr({
+          sourceBranch: 'some-branch',
+          targetBranch: 'master',
+          prTitle: 'some-title',
+          prBody: 'the-body',
+          labels: [],
+          platformOptions: {
+            usePlatformAutomerge: true,
+            gitLabIgnoreApprovals: true,
+          },
+        })
+      ).toMatchInlineSnapshot(`
+        Object {
+          "displayNumber": "Merge Request #12345",
+          "id": 1,
+          "iid": 12345,
+          "number": 12345,
+          "sourceBranch": "some-branch",
+          "title": "some title",
+        }
+      `);
     });
 
     it('does not try to create already existing approval rule', async () => {
@@ -1593,18 +1578,28 @@ describe('modules/platform/gitlab/index', () => {
         .reply(200, [
           { name: 'renovateIgnoreApprovals', approvals_required: 0 },
         ]);
-      await gitlab.createPr({
-        sourceBranch: 'some-branch',
-        targetBranch: 'master',
-        prTitle: 'some-title',
-        prBody: 'the-body',
-        labels: [],
-        platformOptions: {
-          usePlatformAutomerge: true,
-          gitLabIgnoreApprovals: true,
-        },
-      });
-      expect(httpMock.getTrace()).toMatchSnapshot();
+      expect(
+        await gitlab.createPr({
+          sourceBranch: 'some-branch',
+          targetBranch: 'master',
+          prTitle: 'some-title',
+          prBody: 'the-body',
+          labels: [],
+          platformOptions: {
+            usePlatformAutomerge: true,
+            gitLabIgnoreApprovals: true,
+          },
+        })
+      ).toMatchInlineSnapshot(`
+        Object {
+          "displayNumber": "Merge Request #12345",
+          "id": 1,
+          "iid": 12345,
+          "number": 12345,
+          "sourceBranch": "some-branch",
+          "title": "some title",
+        }
+      `);
     });
 
     it('silently ignores approval rules adding errors', async () => {
@@ -1635,18 +1630,28 @@ describe('modules/platform/gitlab/index', () => {
         .reply(200, [])
         .post('/api/v4/projects/undefined/merge_requests/12345/approval_rules')
         .replyWithError('Unknown');
-      await gitlab.createPr({
-        sourceBranch: 'some-branch',
-        targetBranch: 'master',
-        prTitle: 'some-title',
-        prBody: 'the-body',
-        labels: [],
-        platformOptions: {
-          usePlatformAutomerge: true,
-          gitLabIgnoreApprovals: true,
-        },
-      });
-      expect(httpMock.getTrace()).toMatchSnapshot();
+      expect(
+        await gitlab.createPr({
+          sourceBranch: 'some-branch',
+          targetBranch: 'master',
+          prTitle: 'some-title',
+          prBody: 'the-body',
+          labels: [],
+          platformOptions: {
+            usePlatformAutomerge: true,
+            gitLabIgnoreApprovals: true,
+          },
+        })
+      ).toMatchInlineSnapshot(`
+        Object {
+          "displayNumber": "Merge Request #12345",
+          "id": 1,
+          "iid": 12345,
+          "number": 12345,
+          "sourceBranch": "some-branch",
+          "title": "some title",
+        }
+      `);
     });
   });
   describe('getPr(prNo)', () => {
@@ -1671,7 +1676,6 @@ describe('modules/platform/gitlab/index', () => {
       const pr = await gitlab.getPr(12345);
       expect(pr).toMatchSnapshot();
       expect(pr.hasAssignees).toBeFalse();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('removes draft prefix from returned title', async () => {
       httpMock
@@ -1694,7 +1698,6 @@ describe('modules/platform/gitlab/index', () => {
       const pr = await gitlab.getPr(12345);
       expect(pr).toMatchSnapshot();
       expect(pr.title).toBe('do something');
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('removes deprecated draft prefix from returned title', async () => {
       httpMock
@@ -1717,7 +1720,6 @@ describe('modules/platform/gitlab/index', () => {
       const pr = await gitlab.getPr(12345);
       expect(pr).toMatchSnapshot();
       expect(pr.title).toBe('do something');
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns the mergeable PR', async () => {
       const scope = await initRepo();
@@ -1741,7 +1743,6 @@ describe('modules/platform/gitlab/index', () => {
       const pr = await gitlab.getPr(12345);
       expect(pr).toMatchSnapshot();
       expect(pr.hasAssignees).toBeTrue();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('returns the PR with nonexisting branch', async () => {
       httpMock
@@ -1768,7 +1769,6 @@ describe('modules/platform/gitlab/index', () => {
       const pr = await gitlab.getPr(12345);
       expect(pr).toMatchSnapshot();
       expect(pr.hasAssignees).toBeTrue();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
   describe('updatePr(prNo, title, body)', () => {
@@ -1790,8 +1790,9 @@ describe('modules/platform/gitlab/index', () => {
         ])
         .put('/api/v4/projects/undefined/merge_requests/1')
         .reply(200);
-      await gitlab.updatePr({ number: 1, prTitle: 'title', prBody: 'body' });
-      expect(httpMock.getTrace()).toMatchSnapshot();
+      await expect(
+        gitlab.updatePr({ number: 1, prTitle: 'title', prBody: 'body' })
+      ).toResolve();
     });
     it('retains draft status when draft uses current prefix', async () => {
       await initPlatform('13.3.6-ee');
@@ -1810,8 +1811,9 @@ describe('modules/platform/gitlab/index', () => {
         ])
         .put('/api/v4/projects/undefined/merge_requests/1')
         .reply(200);
-      await gitlab.updatePr({ number: 1, prTitle: 'title', prBody: 'body' });
-      expect(httpMock.getTrace()).toMatchSnapshot();
+      await expect(
+        gitlab.updatePr({ number: 1, prTitle: 'title', prBody: 'body' })
+      ).toResolve();
     });
     it('retains draft status when draft uses deprecated prefix', async () => {
       await initPlatform('13.3.6-ee');
@@ -1830,8 +1832,9 @@ describe('modules/platform/gitlab/index', () => {
         ])
         .put('/api/v4/projects/undefined/merge_requests/1')
         .reply(200);
-      await gitlab.updatePr({ number: 1, prTitle: 'title', prBody: 'body' });
-      expect(httpMock.getTrace()).toMatchSnapshot();
+      await expect(
+        gitlab.updatePr({ number: 1, prTitle: 'title', prBody: 'body' })
+      ).toResolve();
     });
     it('closes the PR', async () => {
       await initPlatform('13.3.6-ee');
@@ -1850,13 +1853,14 @@ describe('modules/platform/gitlab/index', () => {
         ])
         .put('/api/v4/projects/undefined/merge_requests/1')
         .reply(200);
-      await gitlab.updatePr({
-        number: 1,
-        prTitle: 'title',
-        prBody: 'body',
-        state: PrState.Closed,
-      });
-      expect(httpMock.getTrace()).toMatchSnapshot();
+      await expect(
+        gitlab.updatePr({
+          number: 1,
+          prTitle: 'title',
+          prBody: 'body',
+          state: PrState.Closed,
+        })
+      ).toResolve();
     });
   });
   describe('mergePr(pr)', () => {
@@ -1866,10 +1870,11 @@ describe('modules/platform/gitlab/index', () => {
         .scope(gitlabApiHost)
         .put('/api/v4/projects/undefined/merge_requests/1/merge')
         .reply(200);
-      await gitlab.mergePr({
-        id: 1,
-      });
-      expect(httpMock.getTrace()).toMatchSnapshot();
+      expect(
+        await gitlab.mergePr({
+          id: 1,
+        })
+      ).toBeTrue();
     });
   });
 
@@ -1941,8 +1946,7 @@ These updates have all been created already. Click a checkbox below to force a r
         })
         .put('/api/v4/projects/undefined/merge_requests/42')
         .reply(200);
-      await gitlab.deleteLabel(42, 'rebase');
-      expect(httpMock.getTrace()).toMatchSnapshot();
+      await expect(gitlab.deleteLabel(42, 'rebase')).toResolve();
     });
   });
   describe('getJsonFile()', () => {
@@ -1958,7 +1962,6 @@ These updates have all been created already. Click a checkbox below to force a r
         });
       const res = await gitlab.getJsonFile('dir/file.json');
       expect(res).toEqual(data);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('returns file content in json5 format', async () => {
@@ -1978,7 +1981,6 @@ These updates have all been created already. Click a checkbox below to force a r
         });
       const res = await gitlab.getJsonFile('dir/file.json5');
       expect(res).toEqual({ foo: 'bar' });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('returns file content from given repo', async () => {
@@ -1993,7 +1995,6 @@ These updates have all been created already. Click a checkbox below to force a r
         });
       const res = await gitlab.getJsonFile('dir/file.json', 'different%2Frepo');
       expect(res).toEqual(data);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('returns file content from branch or tag', async () => {
@@ -2012,7 +2013,6 @@ These updates have all been created already. Click a checkbox below to force a r
         'dev'
       );
       expect(res).toEqual(data);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('throws on malformed JSON', async () => {
@@ -2025,7 +2025,6 @@ These updates have all been created already. Click a checkbox below to force a r
           content: toBase64('!@#'),
         });
       await expect(gitlab.getJsonFile('dir/file.json')).rejects.toThrow();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('throws on errors', async () => {
       const scope = await initRepo();
@@ -2035,7 +2034,6 @@ These updates have all been created already. Click a checkbox below to force a r
         )
         .replyWithError('some error');
       await expect(gitlab.getJsonFile('dir/file.json')).rejects.toThrow();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
   describe('filterUnavailableUsers(users)', () => {
@@ -2055,7 +2053,6 @@ These updates have all been created already. Click a checkbox below to force a r
         'john',
       ]);
       expect(filteredUsers).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('keeps users with missing availability', async () => {
@@ -2065,7 +2062,6 @@ These updates have all been created already. Click a checkbox below to force a r
         .reply(200, {});
       const filteredUsers = await gitlab.filterUnavailableUsers(['maria']);
       expect(filteredUsers).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('keeps users with failing requests', async () => {
@@ -2075,7 +2071,6 @@ These updates have all been created already. Click a checkbox below to force a r
         .reply(404);
       const filteredUsers = await gitlab.filterUnavailableUsers(['maria']);
       expect(filteredUsers).toMatchSnapshot();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 });
diff --git a/lib/util/http/__snapshots__/bitbucket-server.spec.ts.snap b/lib/util/http/__snapshots__/bitbucket-server.spec.ts.snap
deleted file mode 100644
index 3c7f52f37e23655231e9b34820e0a225bb2f408e..0000000000000000000000000000000000000000
--- a/lib/util/http/__snapshots__/bitbucket-server.spec.ts.snap
+++ /dev/null
@@ -1,18 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`util/http/bitbucket-server posts 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer token",
-      "host": "git.example.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-      "x-atlassian-token": "no-check",
-    },
-    "method": "POST",
-    "url": "https://git.example.com/some-url",
-  },
-]
-`;
diff --git a/lib/util/http/__snapshots__/bitbucket.spec.ts.snap b/lib/util/http/__snapshots__/bitbucket.spec.ts.snap
deleted file mode 100644
index e61c4faf084a752391ae1c537be7d44d09acaf25..0000000000000000000000000000000000000000
--- a/lib/util/http/__snapshots__/bitbucket.spec.ts.snap
+++ /dev/null
@@ -1,43 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`util/http/bitbucket accepts custom baseUrl 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer token",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.bitbucket.org/some-url",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api-test.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api-test.bitbucket.org/some-url",
-  },
-]
-`;
-
-exports[`util/http/bitbucket posts 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer token",
-      "host": "api.bitbucket.org",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.bitbucket.org/some-url",
-  },
-]
-`;
diff --git a/lib/util/http/__snapshots__/gitea.spec.ts.snap b/lib/util/http/__snapshots__/gitea.spec.ts.snap
deleted file mode 100644
index 8b77224a46a07c859ae928f3a587e4b2ac72f70e..0000000000000000000000000000000000000000
--- a/lib/util/http/__snapshots__/gitea.spec.ts.snap
+++ /dev/null
@@ -1,111 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`util/http/gitea handles pagination with empty response 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.renovatebot.com/api/v1/pagination-example-3",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.renovatebot.com/api/v1/pagination-example-3?page=2",
-  },
-]
-`;
-
-exports[`util/http/gitea supports pagination on data property 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.renovatebot.com/api/v1/pagination-example-2",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.renovatebot.com/api/v1/pagination-example-2?page=2",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.renovatebot.com/api/v1/pagination-example-2?page=3",
-  },
-]
-`;
-
-exports[`util/http/gitea supports responses without pagination when enabled 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.renovatebot.com/api/v1/pagination-example-1",
-  },
-]
-`;
-
-exports[`util/http/gitea supports root-level pagination 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.renovatebot.com/api/v1/pagination-example-1",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.renovatebot.com/api/v1/pagination-example-1?page=2",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitea.renovatebot.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitea.renovatebot.com/api/v1/pagination-example-1?page=3",
-  },
-]
-`;
diff --git a/lib/util/http/__snapshots__/github.spec.ts.snap b/lib/util/http/__snapshots__/github.spec.ts.snap
deleted file mode 100644
index 30e484a0a35795c6a3add83b8af98e036c29e9cb..0000000000000000000000000000000000000000
--- a/lib/util/http/__snapshots__/github.spec.ts.snap
+++ /dev/null
@@ -1,396 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`util/http/github GraphQL expands items count on timeout 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$count": "Int",
-          "$cursor": "String",
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$name",
-          },
-          "testItem": Object {
-            "__args": Object {
-              "after": "$cursor",
-              "filterBy": Object {
-                "createdBy": "someone",
-              },
-              "first": "$count",
-              "orderBy": Object {
-                "direction": "DESC",
-                "field": "UPDATED_AT",
-              },
-            },
-            "nodes": Object {
-              "body": null,
-              "number": null,
-              "state": null,
-              "title": null,
-            },
-            "pageInfo": Object {
-              "endCursor": null,
-              "hasNextPage": null,
-            },
-          },
-        },
-      },
-      "variables": Object {
-        "count": 84,
-        "cursor": null,
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "content-length": "493",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$count": "Int",
-          "$cursor": "String",
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$name",
-          },
-          "testItem": Object {
-            "__args": Object {
-              "after": "$cursor",
-              "filterBy": Object {
-                "createdBy": "someone",
-              },
-              "first": "$count",
-              "orderBy": Object {
-                "direction": "DESC",
-                "field": "UPDATED_AT",
-              },
-            },
-            "nodes": Object {
-              "body": null,
-              "number": null,
-              "state": null,
-              "title": null,
-            },
-            "pageInfo": Object {
-              "endCursor": null,
-              "hasNextPage": null,
-            },
-          },
-        },
-      },
-      "variables": Object {
-        "count": 84,
-        "cursor": "cursor1",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "content-length": "498",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$count": "Int",
-          "$cursor": "String",
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$name",
-          },
-          "testItem": Object {
-            "__args": Object {
-              "after": "$cursor",
-              "filterBy": Object {
-                "createdBy": "someone",
-              },
-              "first": "$count",
-              "orderBy": Object {
-                "direction": "DESC",
-                "field": "UPDATED_AT",
-              },
-            },
-            "nodes": Object {
-              "body": null,
-              "number": null,
-              "state": null,
-              "title": null,
-            },
-            "pageInfo": Object {
-              "endCursor": null,
-              "hasNextPage": null,
-            },
-          },
-        },
-      },
-      "variables": Object {
-        "count": 84,
-        "cursor": "cursor2",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "content-length": "498",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-]
-`;
-
-exports[`util/http/github GraphQL shrinks items count on 50x 1`] = `
-Array [
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$count": "Int",
-          "$cursor": "String",
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$name",
-          },
-          "testItem": Object {
-            "__args": Object {
-              "after": "$cursor",
-              "filterBy": Object {
-                "createdBy": "someone",
-              },
-              "first": "$count",
-              "orderBy": Object {
-                "direction": "DESC",
-                "field": "UPDATED_AT",
-              },
-            },
-            "nodes": Object {
-              "body": null,
-              "number": null,
-              "state": null,
-              "title": null,
-            },
-            "pageInfo": Object {
-              "endCursor": null,
-              "hasNextPage": null,
-            },
-          },
-        },
-      },
-      "variables": Object {
-        "count": 50,
-        "cursor": null,
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "content-length": "493",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$count": "Int",
-          "$cursor": "String",
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$name",
-          },
-          "testItem": Object {
-            "__args": Object {
-              "after": "$cursor",
-              "filterBy": Object {
-                "createdBy": "someone",
-              },
-              "first": "$count",
-              "orderBy": Object {
-                "direction": "DESC",
-                "field": "UPDATED_AT",
-              },
-            },
-            "nodes": Object {
-              "body": null,
-              "number": null,
-              "state": null,
-              "title": null,
-            },
-            "pageInfo": Object {
-              "endCursor": null,
-              "hasNextPage": null,
-            },
-          },
-        },
-      },
-      "variables": Object {
-        "count": 50,
-        "cursor": "cursor1",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "content-length": "498",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$count": "Int",
-          "$cursor": "String",
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$name",
-          },
-          "testItem": Object {
-            "__args": Object {
-              "after": "$cursor",
-              "filterBy": Object {
-                "createdBy": "someone",
-              },
-              "first": "$count",
-              "orderBy": Object {
-                "direction": "DESC",
-                "field": "UPDATED_AT",
-              },
-            },
-            "nodes": Object {
-              "body": null,
-              "number": null,
-              "state": null,
-              "title": null,
-            },
-            "pageInfo": Object {
-              "endCursor": null,
-              "hasNextPage": null,
-            },
-          },
-        },
-      },
-      "variables": Object {
-        "count": 25,
-        "cursor": "cursor1",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "content-length": "498",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-  Object {
-    "graphql": Object {
-      "query": Object {
-        "__vars": Object {
-          "$count": "Int",
-          "$cursor": "String",
-          "$name": "String!",
-          "$owner": "String!",
-        },
-        "repository": Object {
-          "__args": Object {
-            "name": "$name",
-            "owner": "$name",
-          },
-          "testItem": Object {
-            "__args": Object {
-              "after": "$cursor",
-              "filterBy": Object {
-                "createdBy": "someone",
-              },
-              "first": "$count",
-              "orderBy": Object {
-                "direction": "DESC",
-                "field": "UPDATED_AT",
-              },
-            },
-            "nodes": Object {
-              "body": null,
-              "number": null,
-              "state": null,
-              "title": null,
-            },
-            "pageInfo": Object {
-              "endCursor": null,
-              "hasNextPage": null,
-            },
-          },
-        },
-      },
-      "variables": Object {
-        "count": 25,
-        "cursor": "cursor2",
-      },
-    },
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "content-length": "498",
-      "content-type": "application/json",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://api.github.com/graphql",
-  },
-]
-`;
diff --git a/lib/util/http/__snapshots__/gitlab.spec.ts.snap b/lib/util/http/__snapshots__/gitlab.spec.ts.snap
deleted file mode 100644
index 56e7c378c343d3e3a0a8055de56b10ecc0ad9683..0000000000000000000000000000000000000000
--- a/lib/util/http/__snapshots__/gitlab.spec.ts.snap
+++ /dev/null
@@ -1,124 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`util/http/gitlab attempts to paginate 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer abc123",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/some-url",
-  },
-]
-`;
-
-exports[`util/http/gitlab paginates 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer abc123",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/some-url",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer abc123",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/some-url&page=2",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer abc123",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/some-url&page=3",
-  },
-]
-`;
-
-exports[`util/http/gitlab paginates with GITLAB_IGNORE_REPO_URL set 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer abc123",
-      "host": "mycompany.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "http://mycompany.com/gitlab/api/v4/some-url",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer abc123",
-      "host": "mycompany.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "http://mycompany.com/gitlab/api/v4/some-url&page=2",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer abc123",
-      "host": "mycompany.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "http://mycompany.com/gitlab/api/v4/some-url&page=3",
-  },
-]
-`;
-
-exports[`util/http/gitlab posts 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer abc123",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "POST",
-    "url": "https://gitlab.com/api/v4/some-url",
-  },
-]
-`;
-
-exports[`util/http/gitlab supports different datasources 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer def",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/some-url",
-  },
-]
-`;
diff --git a/lib/util/http/bitbucket-server.spec.ts b/lib/util/http/bitbucket-server.spec.ts
index a1608178e7e833e49ecabd1a0c6a6ce64934e205..21b91448ac1912ddce325cd2a6f02e9cbefcc9f3 100644
--- a/lib/util/http/bitbucket-server.spec.ts
+++ b/lib/util/http/bitbucket-server.spec.ts
@@ -29,6 +29,5 @@ describe('util/http/bitbucket-server', () => {
     httpMock.scope(baseUrl).post('/some-url').reply(200, body);
     const res = await api.postJson('some-url');
     expect(res.body).toEqual(body);
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
 });
diff --git a/lib/util/http/bitbucket.spec.ts b/lib/util/http/bitbucket.spec.ts
index 0f16bfe36014bb76349d43bcb03cd4e26149ada9..9ba588ad3a3137b5b1cb4b680b448d0c555c615c 100644
--- a/lib/util/http/bitbucket.spec.ts
+++ b/lib/util/http/bitbucket.spec.ts
@@ -29,18 +29,29 @@ describe('util/http/bitbucket', () => {
     httpMock.scope(baseUrl).post('/some-url').reply(200, body);
     const res = await api.postJson('some-url');
     expect(res.body).toEqual(body);
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
   it('accepts custom baseUrl', async () => {
     const customBaseUrl = 'https://api-test.bitbucket.org';
     httpMock.scope(baseUrl).post('/some-url').reply(200, {});
     httpMock.scope(customBaseUrl).post('/some-url').reply(200, {});
 
-    await api.postJson('some-url');
+    expect(await api.postJson('some-url')).toEqual({
+      authorization: true,
+      body: {},
+      headers: {
+        'content-type': 'application/json',
+      },
+      statusCode: 200,
+    });
 
     setBaseUrl(customBaseUrl);
-    await api.postJson('some-url');
-
-    expect(httpMock.getTrace()).toMatchSnapshot();
+    expect(await api.postJson('some-url')).toEqual({
+      authorization: false,
+      body: {},
+      headers: {
+        'content-type': 'application/json',
+      },
+      statusCode: 200,
+    });
   });
 });
diff --git a/lib/util/http/gitea.spec.ts b/lib/util/http/gitea.spec.ts
index 3d1645181b23eb638e45bbbcca3cd50cacd176bc..f21fc1816c0b4784f75bc91a9543cb9184d73be0 100644
--- a/lib/util/http/gitea.spec.ts
+++ b/lib/util/http/gitea.spec.ts
@@ -24,7 +24,6 @@ describe('util/http/gitea', () => {
       paginate: true,
     });
     expect(res.body).toEqual({ hello: 'world' });
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
 
   it('supports root-level pagination', async () => {
@@ -43,7 +42,6 @@ describe('util/http/gitea', () => {
 
     expect(res.body).toHaveLength(6);
     expect(res.body).toEqual(['abc', 'def', 'ghi', 'jkl', 'mno', 'pqr']);
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
 
   it('supports pagination on data property', async () => {
@@ -64,7 +62,6 @@ describe('util/http/gitea', () => {
     );
     expect(res.body.data).toHaveLength(6);
     expect(res.body.data).toEqual(['abc', 'def', 'ghi', 'jkl', 'mno', 'pqr']);
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
   it('handles pagination with empty response', async () => {
     httpMock
@@ -82,6 +79,5 @@ describe('util/http/gitea', () => {
     );
     expect(res.body.data).toHaveLength(3);
     expect(res.body.data).toEqual(['abc', 'def', 'ghi']);
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
 });
diff --git a/lib/util/http/github.spec.ts b/lib/util/http/github.spec.ts
index c1264e5d5e10b70c07027194fa545964fb2cca11..b1ffb15b3ffdb2254221c448c5eb45278123f2a3 100644
--- a/lib/util/http/github.spec.ts
+++ b/lib/util/http/github.spec.ts
@@ -106,8 +106,6 @@ describe('util/http/github', () => {
         .reply(200, ['e']);
       const res = await githubApi.getJson(url, { paginate: true });
       expect(res.body).toEqual(['a', 'b', 'c', 'd', 'e']);
-      const trace = httpMock.getTrace();
-      expect(trace).toHaveLength(3);
     });
     it('uses paginationField', async () => {
       const url = '/some-url';
@@ -136,8 +134,6 @@ describe('util/http/github', () => {
         paginationField: 'the_field',
       });
       expect(res.body.the_field).toEqual(['a', 'b', 'c', 'd']);
-      const trace = httpMock.getTrace();
-      expect(trace).toHaveLength(3);
     });
     it('attempts to paginate', async () => {
       const url = '/some-url';
@@ -150,8 +146,6 @@ describe('util/http/github', () => {
       const res = await githubApi.getJson('some-url', { paginate: true });
       expect(res).toBeDefined();
       expect(res.body).toEqual(['a']);
-      const trace = httpMock.getTrace();
-      expect(trace).toHaveLength(1);
     });
     describe('handleGotError', () => {
       async function fail(
@@ -439,8 +433,9 @@ describe('util/http/github', () => {
             someprop: 'someval',
           },
         });
-      await githubApi.queryRepoField(graphqlQuery, 'testItem');
-      expect(httpMock.getTrace()).toHaveLength(7);
+      expect(
+        await githubApi.queryRepoField(graphqlQuery, 'testItem')
+      ).toMatchInlineSnapshot(`Array []`);
     });
     it('queryRepo', async () => {
       const repository = {
@@ -453,7 +448,6 @@ describe('util/http/github', () => {
         .reply(200, { data: { repository } });
 
       const res = await githubApi.requestGraphql(graphqlQuery);
-      expect(httpMock.getTrace()).toHaveLength(1);
       expect(res?.data).toStrictEqual({ repository });
     });
     it('queryRepoField', async () => {
@@ -467,7 +461,6 @@ describe('util/http/github', () => {
         .reply(200, page3);
 
       const items = await githubApi.queryRepoField(graphqlQuery, 'testItem');
-      expect(httpMock.getTrace()).toHaveLength(3);
       expect(items).toHaveLength(3);
     });
     it('limit result size', async () => {
@@ -481,7 +474,6 @@ describe('util/http/github', () => {
       const items = await githubApi.queryRepoField(graphqlQuery, 'testItem', {
         limit: 2,
       });
-      expect(httpMock.getTrace()).toHaveLength(2);
       expect(items).toHaveLength(2);
     });
     it('shrinks items count on 50x', async () => {
@@ -511,10 +503,6 @@ describe('util/http/github', () => {
       expect(
         repoCache?.platform?.github?.graphqlPageCache?.testItem?.pageSize
       ).toBe(25);
-
-      const trace = httpMock.getTrace();
-      expect(trace).toHaveLength(4);
-      expect(trace).toMatchSnapshot();
     });
     it('expands items count on timeout', async () => {
       repoCache.platform ??= {};
@@ -542,7 +530,6 @@ describe('util/http/github', () => {
       expect(
         repoCache?.platform?.github?.graphqlPageCache?.testItem?.pageSize
       ).toBe(84);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('continues to iterate with a lower page size on error 502', async () => {
       httpMock
@@ -558,9 +545,6 @@ describe('util/http/github', () => {
 
       const items = await githubApi.queryRepoField(graphqlQuery, 'testItem');
       expect(items).toHaveLength(3);
-
-      const trace = httpMock.getTrace();
-      expect(trace).toHaveLength(4);
     });
     it('removes cache record once expanded to the maximum', async () => {
       repoCache.platform ??= {};
@@ -589,9 +573,6 @@ describe('util/http/github', () => {
       expect(
         repoCache?.platform?.github?.graphqlPageCache?.testItem
       ).toBeUndefined();
-
-      const trace = httpMock.getTrace();
-      expect(trace).toHaveLength(3);
     });
     it('throws on 50x if count < 10', async () => {
       httpMock.scope(githubApiHost).post('/graphql').reply(500);
diff --git a/lib/util/http/gitlab.spec.ts b/lib/util/http/gitlab.spec.ts
index 312bd4019fec7a3f35d6300f332b685e606e236a..fa2cb03620d7c9cacd8a2e6dbc0d2c9f5c895820 100644
--- a/lib/util/http/gitlab.spec.ts
+++ b/lib/util/http/gitlab.spec.ts
@@ -48,10 +48,6 @@ describe('util/http/gitlab', () => {
       .reply(200, ['d']);
     const res = await gitlabApi.getJson('some-url', { paginate: true });
     expect(res.body).toHaveLength(4);
-
-    const trace = httpMock.getTrace();
-    expect(trace).toHaveLength(3);
-    expect(trace).toMatchSnapshot();
   });
   it('paginates with GITLAB_IGNORE_REPO_URL set', async () => {
     process.env.GITLAB_IGNORE_REPO_URL = 'true';
@@ -71,10 +67,6 @@ describe('util/http/gitlab', () => {
       .reply(200, ['d']);
     const res = await gitlabApi.getJson('some-url', { paginate: true });
     expect(res.body).toHaveLength(4);
-
-    const trace = httpMock.getTrace();
-    expect(trace).toHaveLength(3);
-    expect(trace).toMatchSnapshot();
   });
 
   it('supports different datasources', async () => {
@@ -90,10 +82,6 @@ describe('util/http/gitlab', () => {
       .reply(200);
     const response = await gitlabApiDatasource.get('/some-url');
     expect(response).not.toBeNull();
-
-    const trace = httpMock.getTrace();
-    expect(trace).toHaveLength(1);
-    expect(trace).toMatchSnapshot();
   });
 
   it('attempts to paginate', async () => {
@@ -102,17 +90,12 @@ describe('util/http/gitlab', () => {
     });
     const res = await gitlabApi.getJson('some-url', { paginate: true });
     expect(res.body).toHaveLength(1);
-
-    const trace = httpMock.getTrace();
-    expect(trace).toHaveLength(1);
-    expect(trace).toMatchSnapshot();
   });
   it('posts', async () => {
     const body = ['a', 'b'];
     httpMock.scope(gitlabApiHost).post('/api/v4/some-url').reply(200, body);
     const res = await gitlabApi.postJson('some-url');
     expect(res.body).toEqual(body);
-    expect(httpMock.getTrace()).toMatchSnapshot();
   });
   it('sets baseUrl', () => {
     expect(() => setBaseUrl(`${selfHostedUrl}/api/v4/`)).not.toThrow();
diff --git a/lib/workers/repository/update/pr/changelog/__snapshots__/gitlab.spec.ts.snap b/lib/workers/repository/update/pr/changelog/__snapshots__/gitlab.spec.ts.snap
index 0423cacd0a7dcc015dda63be8dee54f5ba37d22b..5ea9435c491909c50081f5a2438f193f74cd0ff2 100644
--- a/lib/workers/repository/update/pr/changelog/__snapshots__/gitlab.spec.ts.snap
+++ b/lib/workers/repository/update/pr/changelog/__snapshots__/gitlab.spec.ts.snap
@@ -45,110 +45,6 @@ Object {
 }
 `;
 
-exports[`workers/repository/update/pr/changelog/gitlab getChangeLogJSON handles empty GitLab tags response 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer abc",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/meno%2Fdropzone/repository/tags?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer abc",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/meno%2Fdropzone/repository/tree?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer abc",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/meno%2Fdropzone/releases?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer abc",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/meno%2Fdropzone/repository/tree?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer abc",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/meno%2Fdropzone/releases?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer abc",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/meno%2Fdropzone/repository/tree?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer abc",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/meno%2Fdropzone/releases?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer abc",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/meno%2Fdropzone/repository/tree?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer abc",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/meno%2Fdropzone/releases?per_page=100",
-  },
-]
-`;
-
 exports[`workers/repository/update/pr/changelog/gitlab getChangeLogJSON supports gitlab enterprise and gitlab enterprise changelog 1`] = `
 Object {
   "hasReleaseNotes": false,
@@ -304,110 +200,6 @@ Object {
 }
 `;
 
-exports[`workers/repository/update/pr/changelog/gitlab getChangeLogJSON uses GitLab tags 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer abc",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/meno%2Fdropzone/repository/tags?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer abc",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/meno%2Fdropzone/repository/tree?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer abc",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/meno%2Fdropzone/releases?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer abc",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/meno%2Fdropzone/repository/tree?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer abc",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/meno%2Fdropzone/releases?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer abc",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/meno%2Fdropzone/repository/tree?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer abc",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/meno%2Fdropzone/releases?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer abc",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/meno%2Fdropzone/repository/tree?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer abc",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/meno%2Fdropzone/releases?per_page=100",
-  },
-]
-`;
-
 exports[`workers/repository/update/pr/changelog/gitlab getChangeLogJSON uses GitLab tags with error 1`] = `
 Object {
   "hasReleaseNotes": false,
@@ -453,110 +245,6 @@ Object {
 }
 `;
 
-exports[`workers/repository/update/pr/changelog/gitlab getChangeLogJSON uses GitLab tags with error 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer abc",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/meno%2Fdropzone/repository/tags?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer abc",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/meno%2Fdropzone/repository/tree?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer abc",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/meno%2Fdropzone/releases?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer abc",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/meno%2Fdropzone/repository/tree?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer abc",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/meno%2Fdropzone/releases?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer abc",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/meno%2Fdropzone/repository/tree?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer abc",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/meno%2Fdropzone/releases?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer abc",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/meno%2Fdropzone/repository/tree?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer abc",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/meno%2Fdropzone/releases?per_page=100",
-  },
-]
-`;
-
 exports[`workers/repository/update/pr/changelog/gitlab getChangeLogJSON works without GitLab 1`] = `
 Object {
   "hasReleaseNotes": false,
diff --git a/lib/workers/repository/update/pr/changelog/__snapshots__/index.spec.ts.snap b/lib/workers/repository/update/pr/changelog/__snapshots__/index.spec.ts.snap
index 1e5faba943b861c9c5fefbc902d74af5e191a16f..7fe27ef13f2b02ca6140f8ac2e5f78604555525c 100644
--- a/lib/workers/repository/update/pr/changelog/__snapshots__/index.spec.ts.snap
+++ b/lib/workers/repository/update/pr/changelog/__snapshots__/index.spec.ts.snap
@@ -55,110 +55,6 @@ Object {
 }
 `;
 
-exports[`workers/repository/update/pr/changelog/index getChangeLogJSON filters unnecessary warns 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/chalk/chalk/tags?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/chalk/chalk",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/chalk/chalk/releases?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/chalk/chalk",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/chalk/chalk/releases?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/chalk/chalk",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/chalk/chalk/releases?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/chalk/chalk",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/chalk/chalk/releases?per_page=100",
-  },
-]
-`;
-
 exports[`workers/repository/update/pr/changelog/index getChangeLogJSON supports github enterprise and github enterprise changelog 1`] = `
 Object {
   "hasReleaseNotes": true,
@@ -214,154 +110,6 @@ Object {
 }
 `;
 
-exports[`workers/repository/update/pr/changelog/index getChangeLogJSON supports github enterprise and github enterprise changelog 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "github-enterprise.example.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://github-enterprise.example.com/api/v3/repos/chalk/chalk/tags?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "github-enterprise.example.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://github-enterprise.example.com/api/v3/repos/chalk/chalk",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "github-enterprise.example.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://github-enterprise.example.com/api/v3/repos/chalk/chalk/git/trees/HEAD",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "github-enterprise.example.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://github-enterprise.example.com/api/v3/repos/chalk/chalk/releases?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "github-enterprise.example.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://github-enterprise.example.com/api/v3/repos/chalk/chalk",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "github-enterprise.example.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://github-enterprise.example.com/api/v3/repos/chalk/chalk/git/trees/HEAD",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "github-enterprise.example.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://github-enterprise.example.com/api/v3/repos/chalk/chalk/releases?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "github-enterprise.example.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://github-enterprise.example.com/api/v3/repos/chalk/chalk",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "github-enterprise.example.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://github-enterprise.example.com/api/v3/repos/chalk/chalk/git/trees/HEAD",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "github-enterprise.example.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://github-enterprise.example.com/api/v3/repos/chalk/chalk/releases?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "github-enterprise.example.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://github-enterprise.example.com/api/v3/repos/chalk/chalk",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "github-enterprise.example.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://github-enterprise.example.com/api/v3/repos/chalk/chalk/git/trees/HEAD",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "github-enterprise.example.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://github-enterprise.example.com/api/v3/repos/chalk/chalk/releases?per_page=100",
-  },
-]
-`;
-
 exports[`workers/repository/update/pr/changelog/index getChangeLogJSON supports github enterprise and github.com changelog 1`] = `
 Object {
   "hasReleaseNotes": true,
@@ -417,154 +165,6 @@ Object {
 }
 `;
 
-exports[`workers/repository/update/pr/changelog/index getChangeLogJSON supports github enterprise and github.com changelog 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/chalk/chalk/tags?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/chalk/chalk",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/chalk/chalk/git/trees/HEAD",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/chalk/chalk/releases?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/chalk/chalk",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/chalk/chalk/git/trees/HEAD",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/chalk/chalk/releases?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/chalk/chalk",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/chalk/chalk/git/trees/HEAD",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/chalk/chalk/releases?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/chalk/chalk",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/chalk/chalk/git/trees/HEAD",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/chalk/chalk/releases?per_page=100",
-  },
-]
-`;
-
 exports[`workers/repository/update/pr/changelog/index getChangeLogJSON supports github.com and github enterprise changelog 1`] = `
 Object {
   "hasReleaseNotes": true,
@@ -620,154 +220,6 @@ Object {
 }
 `;
 
-exports[`workers/repository/update/pr/changelog/index getChangeLogJSON supports github.com and github enterprise changelog 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "github-enterprise.example.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://github-enterprise.example.com/api/v3/repos/chalk/chalk/tags?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "github-enterprise.example.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://github-enterprise.example.com/api/v3/repos/chalk/chalk",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "github-enterprise.example.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://github-enterprise.example.com/api/v3/repos/chalk/chalk/git/trees/HEAD",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "github-enterprise.example.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://github-enterprise.example.com/api/v3/repos/chalk/chalk/releases?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "github-enterprise.example.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://github-enterprise.example.com/api/v3/repos/chalk/chalk",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "github-enterprise.example.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://github-enterprise.example.com/api/v3/repos/chalk/chalk/git/trees/HEAD",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "github-enterprise.example.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://github-enterprise.example.com/api/v3/repos/chalk/chalk/releases?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "github-enterprise.example.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://github-enterprise.example.com/api/v3/repos/chalk/chalk",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "github-enterprise.example.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://github-enterprise.example.com/api/v3/repos/chalk/chalk/git/trees/HEAD",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "github-enterprise.example.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://github-enterprise.example.com/api/v3/repos/chalk/chalk/releases?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "github-enterprise.example.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://github-enterprise.example.com/api/v3/repos/chalk/chalk",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "github-enterprise.example.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://github-enterprise.example.com/api/v3/repos/chalk/chalk/git/trees/HEAD",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "github-enterprise.example.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://github-enterprise.example.com/api/v3/repos/chalk/chalk/releases?per_page=100",
-  },
-]
-`;
-
 exports[`workers/repository/update/pr/changelog/index getChangeLogJSON supports node engines 1`] = `
 Object {
   "hasReleaseNotes": true,
@@ -883,154 +335,6 @@ Object {
 }
 `;
 
-exports[`workers/repository/update/pr/changelog/index getChangeLogJSON uses GitHub tags 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/chalk/chalk/tags?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/chalk/chalk",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/chalk/chalk/git/trees/HEAD",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/chalk/chalk/releases?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/chalk/chalk",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/chalk/chalk/git/trees/HEAD",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/chalk/chalk/releases?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/chalk/chalk",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/chalk/chalk/git/trees/HEAD",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/chalk/chalk/releases?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/chalk/chalk",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/chalk/chalk/git/trees/HEAD",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "token abc",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/chalk/chalk/releases?per_page=100",
-  },
-]
-`;
-
 exports[`workers/repository/update/pr/changelog/index getChangeLogJSON works without Github 1`] = `
 Object {
   "hasReleaseNotes": true,
diff --git a/lib/workers/repository/update/pr/changelog/__snapshots__/release-notes.spec.ts.snap b/lib/workers/repository/update/pr/changelog/__snapshots__/release-notes.spec.ts.snap
index 3fe66bd32dc8a34343f55bce73ef5afde65d6b88..a5dd9cce7bc179a1ee84c7510943798cfd6b7bfd 100644
--- a/lib/workers/repository/update/pr/changelog/__snapshots__/release-notes.spec.ts.snap
+++ b/lib/workers/repository/update/pr/changelog/__snapshots__/release-notes.spec.ts.snap
@@ -21,21 +21,6 @@ Array [
 ]
 `;
 
-exports[`workers/repository/update/pr/changelog/release-notes getReleaseList() should return release list for github repo 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/yet-other-repository/releases?per_page=100",
-  },
-]
-`;
-
 exports[`workers/repository/update/pr/changelog/release-notes getReleaseList() should return release list for gitlab.com project 1`] = `
 Array [
   Object {
@@ -55,21 +40,6 @@ Array [
 ]
 `;
 
-exports[`workers/repository/update/pr/changelog/release-notes getReleaseList() should return release list for gitlab.com project 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/some%2Fyet-other-repository/releases?per_page=100",
-  },
-]
-`;
-
 exports[`workers/repository/update/pr/changelog/release-notes getReleaseList() should return release list for self hosted gitlab project 1`] = `
 Array [
   Object {
@@ -89,182 +59,7 @@ Array [
 ]
 `;
 
-exports[`workers/repository/update/pr/changelog/release-notes getReleaseList() should return release list for self hosted gitlab project 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer some-token",
-      "host": "my.custom.domain",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://my.custom.domain/api/v4/projects/some%2Fyet-other-repository/releases?per_page=100",
-  },
-]
-`;
-
-exports[`workers/repository/update/pr/changelog/release-notes getReleaseNotes() gets release notes with body "" 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/other-repository/releases?per_page=100",
-  },
-]
-`;
-
-exports[`workers/repository/update/pr/changelog/release-notes getReleaseNotes() gets release notes with body "other@" 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/other-repository/releases?per_page=100",
-  },
-]
-`;
-
-exports[`workers/repository/update/pr/changelog/release-notes getReleaseNotes() gets release notes with body "other_v" 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/other-repository/releases?per_page=100",
-  },
-]
-`;
-
-exports[`workers/repository/update/pr/changelog/release-notes getReleaseNotes() gets release notes with body "other-" 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/other-repository/releases?per_page=100",
-  },
-]
-`;
-
-exports[`workers/repository/update/pr/changelog/release-notes getReleaseNotes() gets release notes with body "v" 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/other-repository/releases?per_page=100",
-  },
-]
-`;
-
-exports[`workers/repository/update/pr/changelog/release-notes getReleaseNotes() gets release notes with body from gitlab repo "" 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.gitlab.com/projects/some%2Fother-repository/releases?per_page=100",
-  },
-]
-`;
-
-exports[`workers/repository/update/pr/changelog/release-notes getReleaseNotes() gets release notes with body from gitlab repo "other-" 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.gitlab.com/projects/some%2Fother-repository/releases?per_page=100",
-  },
-]
-`;
-
-exports[`workers/repository/update/pr/changelog/release-notes getReleaseNotes() gets release notes with body from gitlab repo "v" 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.gitlab.com/projects/some%2Fother-repository/releases?per_page=100",
-  },
-]
-`;
-
-exports[`workers/repository/update/pr/changelog/release-notes getReleaseNotes() should return null for release notes without body 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repository/releases?per_page=100",
-  },
-]
-`;
-
 exports[`workers/repository/update/pr/changelog/release-notes getReleaseNotesMd() ReleaseNotes Correctness handles gitlab sourceDirectory 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/itentialopensource%2Fadapter-utils/repository/tree?per_page=100&path=packages/foo",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/itentialopensource%2Fadapter-utils/repository/blobs/abcd/raw",
-  },
-]
-`;
-
-exports[`workers/repository/update/pr/changelog/release-notes getReleaseNotesMd() ReleaseNotes Correctness handles gitlab sourceDirectory 2`] = `
 Object {
   "body": "-   add new auth, fix accept header and base path in mock
 
@@ -280,30 +75,6 @@ See merge request itentialopensource/adapter-utils!177
 `;
 
 exports[`workers/repository/update/pr/changelog/release-notes getReleaseNotesMd() ReleaseNotes Correctness parses adapter-utils 4.33.0 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/itentialopensource%2Fadapter-utils/repository/tree?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://gitlab.com/api/v4/projects/itentialopensource%2Fadapter-utils/repository/blobs/abcd/raw",
-  },
-]
-`;
-
-exports[`workers/repository/update/pr/changelog/release-notes getReleaseNotesMd() ReleaseNotes Correctness parses adapter-utils 4.33.0 2`] = `
 Object {
   "body": "-   add new auth, fix accept header and base path in mock
 
@@ -319,41 +90,6 @@ See merge request itentialopensource/adapter-utils!177
 `;
 
 exports[`workers/repository/update/pr/changelog/release-notes getReleaseNotesMd() ReleaseNotes Correctness parses yargs 15.2.0 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/yargs/yargs",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/yargs/yargs/git/trees/main",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/yargs/yargs/git/blobs/abcd",
-  },
-]
-`;
-
-exports[`workers/repository/update/pr/changelog/release-notes getReleaseNotesMd() ReleaseNotes Correctness parses yargs 15.2.0 2`] = `
 Object {
   "body": "##### âš  BREAKING CHANGES
 
@@ -385,41 +121,6 @@ Object {
 `;
 
 exports[`workers/repository/update/pr/changelog/release-notes getReleaseNotesMd() ReleaseNotes Correctness parses yargs 15.3.0 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/yargs/yargs",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/yargs/yargs/git/trees/main",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/yargs/yargs/git/blobs/abcd",
-  },
-]
-`;
-
-exports[`workers/repository/update/pr/changelog/release-notes getReleaseNotesMd() ReleaseNotes Correctness parses yargs 15.3.0 2`] = `
 Object {
   "body": "##### Features
 
@@ -435,102 +136,7 @@ Object {
 }
 `;
 
-exports[`workers/repository/update/pr/changelog/release-notes getReleaseNotesMd() handles bad markdown 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repository2",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repository2/git/trees/HEAD",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repository2/git/blobs/abcd",
-  },
-]
-`;
-
-exports[`workers/repository/update/pr/changelog/release-notes getReleaseNotesMd() handles files mismatch 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/chalk",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/chalk/git/trees/HEAD",
-  },
-]
-`;
-
 exports[`workers/repository/update/pr/changelog/release-notes getReleaseNotesMd() handles github sourceDirectory 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/nodeca/js-yaml",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/nodeca/js-yaml/git/trees/HEAD?recursive=1",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/nodeca/js-yaml/git/blobs/abcd",
-  },
-]
-`;
-
-exports[`workers/repository/update/pr/changelog/release-notes getReleaseNotesMd() handles github sourceDirectory 2`] = `
 Object {
   "body": "-   Fix \`condenseFlow\` output (quote keys for sure, instead of spaces), [#371](https://github.com/nodeca/js-yaml/issues/371), [#370](https://github.com/nodeca/js-yaml/issues/370).
 -   Dump astrals as codepoints instead of surrogate pair, [#368](https://github.com/nodeca/js-yaml/issues/368).
@@ -540,41 +146,6 @@ Object {
 }
 `;
 
-exports[`workers/repository/update/pr/changelog/release-notes getReleaseNotesMd() handles wrong format 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repository1",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repository1/git/trees/HEAD",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/some/repository1/git/blobs/abcd",
-  },
-]
-`;
-
 exports[`workers/repository/update/pr/changelog/release-notes getReleaseNotesMd() parses angular.js 1`] = `
 Object {
   "body": "#### Bug Fixes
@@ -606,66 +177,7 @@ Object {
 }
 `;
 
-exports[`workers/repository/update/pr/changelog/release-notes getReleaseNotesMd() parses angular.js 2`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/angular/angular.js",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/angular/angular.js/git/trees/HEAD",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/angular/angular.js/git/blobs/abcd",
-  },
-]
-`;
-
 exports[`workers/repository/update/pr/changelog/release-notes getReleaseNotesMd() parses gitlab.com/gitlab-org/gitter/webapp 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.gitlab.com/projects/gitlab-org%2Fgitter%2Fwebapp/repository/tree?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.gitlab.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.gitlab.com/projects/gitlab-org%2Fgitter%2Fwebapp/repository/blobs/abcd/raw",
-  },
-]
-`;
-
-exports[`workers/repository/update/pr/changelog/release-notes getReleaseNotesMd() parses gitlab.com/gitlab-org/gitter/webapp 2`] = `
 Object {
   "body": "-   Removing markup from a part of the French translation, <https://gitlab.com/gitlab-org/gitter/webapp/-/merge_requests/1878>
 -   Fix typo documentation -> documentation, <https://gitlab.com/gitlab-org/gitter/webapp/-/merge_requests/1880>
@@ -683,41 +195,6 @@ Object {
 `;
 
 exports[`workers/repository/update/pr/changelog/release-notes getReleaseNotesMd() parses jest 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/facebook/jest",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/facebook/jest/git/trees/HEAD",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/facebook/jest/git/blobs/abcd",
-  },
-]
-`;
-
-exports[`workers/repository/update/pr/changelog/release-notes getReleaseNotesMd() parses jest 2`] = `
 Object {
   "body": "##### Fixes
 
@@ -911,41 +388,6 @@ Object {
 `;
 
 exports[`workers/repository/update/pr/changelog/release-notes getReleaseNotesMd() parses js-yaml 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/nodeca/js-yaml",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/nodeca/js-yaml/git/trees/HEAD",
-  },
-  Object {
-    "headers": Object {
-      "accept": "application/vnd.github.v3+json",
-      "accept-encoding": "gzip, deflate, br",
-      "host": "api.github.com",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://api.github.com/repos/nodeca/js-yaml/git/blobs/abcd",
-  },
-]
-`;
-
-exports[`workers/repository/update/pr/changelog/release-notes getReleaseNotesMd() parses js-yaml 2`] = `
 Object {
   "body": "-   Fix \`condenseFlow\` output (quote keys for sure, instead of spaces), [#371](https://github.com/nodeca/js-yaml/issues/371), [#370](https://github.com/nodeca/js-yaml/issues/370).
 -   Dump astrals as codepoints instead of surrogate pair, [#368](https://github.com/nodeca/js-yaml/issues/368).
@@ -956,32 +398,6 @@ Object {
 `;
 
 exports[`workers/repository/update/pr/changelog/release-notes getReleaseNotesMd() parses self hosted gitlab 1`] = `
-Array [
-  Object {
-    "headers": Object {
-      "accept": "application/json",
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer some-token",
-      "host": "my.custom.domain",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://my.custom.domain/projects/gitlab-org%2Fgitter%2Fwebapp/repository/tree?per_page=100",
-  },
-  Object {
-    "headers": Object {
-      "accept-encoding": "gzip, deflate, br",
-      "authorization": "Bearer some-token",
-      "host": "my.custom.domain",
-      "user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
-    },
-    "method": "GET",
-    "url": "https://my.custom.domain/projects/gitlab-org%2Fgitter%2Fwebapp/repository/blobs/abcd/raw",
-  },
-]
-`;
-
-exports[`workers/repository/update/pr/changelog/release-notes getReleaseNotesMd() parses self hosted gitlab 2`] = `
 Object {
   "body": "-   Removing markup from a part of the French translation, <https://gitlab.com/gitlab-org/gitter/webapp/-/merge_requests/1878>
 -   Fix typo documentation -> documentation, <https://gitlab.com/gitlab-org/gitter/webapp/-/merge_requests/1880>
diff --git a/lib/workers/repository/update/pr/changelog/gitlab.spec.ts b/lib/workers/repository/update/pr/changelog/gitlab.spec.ts
index e9c23ab7ae349af1f7d06f45eadd381bdc72daf8..3493c3801c539a9134f489f7bcda1cbc74583094 100644
--- a/lib/workers/repository/update/pr/changelog/gitlab.spec.ts
+++ b/lib/workers/repository/update/pr/changelog/gitlab.spec.ts
@@ -47,17 +47,14 @@ describe('workers/repository/update/pr/changelog/gitlab', () => {
     });
 
     it('returns null if @types', async () => {
-      httpMock.scope(matchHost);
       expect(
         await getChangeLogJSON({
           ...upgrade,
           currentVersion: null,
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toBeEmpty();
     });
     it('returns null if currentVersion equals newVersion', async () => {
-      httpMock.scope(matchHost);
       expect(
         await getChangeLogJSON({
           ...upgrade,
@@ -65,7 +62,6 @@ describe('workers/repository/update/pr/changelog/gitlab', () => {
           newVersion: '1.0.0',
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toBeEmpty();
     });
     it('skips invalid repos', async () => {
       expect(
@@ -139,7 +135,6 @@ describe('workers/repository/update/pr/changelog/gitlab', () => {
           { version: '5.4.0' },
         ],
       });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('handles empty GitLab tags response', async () => {
       httpMock
@@ -174,7 +169,6 @@ describe('workers/repository/update/pr/changelog/gitlab', () => {
           { version: '5.4.0' },
         ],
       });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('uses GitLab tags with error', async () => {
       httpMock
@@ -209,7 +203,6 @@ describe('workers/repository/update/pr/changelog/gitlab', () => {
           { version: '5.4.0' },
         ],
       });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('handles no sourceUrl', async () => {
       expect(
diff --git a/lib/workers/repository/update/pr/changelog/index.spec.ts b/lib/workers/repository/update/pr/changelog/index.spec.ts
index 4a4d51ae9f15a921d0f13da09111ef2e53d45096..9aa99bf7155c628e6ec02c56f8965165a1f7880d 100644
--- a/lib/workers/repository/update/pr/changelog/index.spec.ts
+++ b/lib/workers/repository/update/pr/changelog/index.spec.ts
@@ -43,27 +43,22 @@ describe('workers/repository/update/pr/changelog/index', () => {
     });
 
     it('returns null if @types', async () => {
-      httpMock.scope(githubApiHost);
       expect(
         await getChangeLogJSON({
           ...upgrade,
           currentVersion: null,
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toHaveLength(0);
     });
     it('returns null if no currentVersion', async () => {
-      httpMock.scope(githubApiHost);
       expect(
         await getChangeLogJSON({
           ...upgrade,
           sourceUrl: 'https://github.com/DefinitelyTyped/DefinitelyTyped',
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toHaveLength(0);
     });
     it('returns null if currentVersion equals newVersion', async () => {
-      httpMock.scope(githubApiHost);
       expect(
         await getChangeLogJSON({
           ...upgrade,
@@ -71,17 +66,14 @@ describe('workers/repository/update/pr/changelog/index', () => {
           newVersion: '1.0.0',
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toHaveLength(0);
     });
     it('skips invalid repos', async () => {
-      httpMock.scope(githubApiHost);
       expect(
         await getChangeLogJSON({
           ...upgrade,
           sourceUrl: 'https://github.com/about',
         })
       ).toBeNull();
-      expect(httpMock.getTrace()).toHaveLength(0);
     });
     it('works without Github', async () => {
       httpMock
@@ -116,7 +108,6 @@ describe('workers/repository/update/pr/changelog/index', () => {
           { version: '2.2.2' },
         ],
       });
-      expect(httpMock.getTrace()).toHaveLength(9);
     });
     it('uses GitHub tags', async () => {
       httpMock
@@ -155,7 +146,6 @@ describe('workers/repository/update/pr/changelog/index', () => {
           { version: '2.2.2' },
         ],
       });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('filters unnecessary warns', async () => {
       httpMock
@@ -185,7 +175,6 @@ describe('workers/repository/update/pr/changelog/index', () => {
           { version: '2.2.2' },
         ],
       });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('supports node engines', async () => {
       expect(
@@ -284,7 +273,6 @@ describe('workers/repository/update/pr/changelog/index', () => {
           { version: '2.2.2' },
         ],
       });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('supports github enterprise and github enterprise changelog', async () => {
       httpMock
@@ -322,7 +310,6 @@ describe('workers/repository/update/pr/changelog/index', () => {
           { version: '2.2.2' },
         ],
       });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('supports github.com and github enterprise changelog', async () => {
@@ -359,7 +346,6 @@ describe('workers/repository/update/pr/changelog/index', () => {
           { version: '2.2.2' },
         ],
       });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 });
diff --git a/lib/workers/repository/update/pr/changelog/release-notes.spec.ts b/lib/workers/repository/update/pr/changelog/release-notes.spec.ts
index 6b2879bc14300fdcde154c43dfc28d24a676b048..0d321b8d2842b439f4b59ba3b659c2b80fe859bc 100644
--- a/lib/workers/repository/update/pr/changelog/release-notes.spec.ts
+++ b/lib/workers/repository/update/pr/changelog/release-notes.spec.ts
@@ -188,7 +188,6 @@ describe('workers/repository/update/pr/changelog/release-notes', () => {
           tag: 'v1.0.1',
         },
       ]);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('should return release list for gitlab.com project', async () => {
@@ -222,7 +221,6 @@ describe('workers/repository/update/pr/changelog/release-notes', () => {
           url: 'https://gitlab.com/api/v4/projects/some%2Fyet-other-repository/releases/v1.0.1',
         },
       ]);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('should return release list for self hosted gitlab project', async () => {
@@ -259,7 +257,6 @@ describe('workers/repository/update/pr/changelog/release-notes', () => {
           url: 'https://my.custom.domain/api/v4/projects/some%2Fyet-other-repository/releases/v1.0.1',
         },
       ]);
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
   });
 
@@ -278,7 +275,6 @@ describe('workers/repository/update/pr/changelog/release-notes', () => {
         '1.0.0'
       );
       expect(res).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('gets release notes with body ""', async () => {
@@ -310,7 +306,6 @@ describe('workers/repository/update/pr/changelog/release-notes', () => {
         tag: '1.0.1',
         url: 'https://github.com/some/other-repository/releases/1.0.1',
       });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('gets release notes with body "v"', async () => {
       const prefix = 'v';
@@ -341,7 +336,6 @@ describe('workers/repository/update/pr/changelog/release-notes', () => {
         tag: 'v1.0.1',
         url: 'https://github.com/some/other-repository/releases/v1.0.1',
       });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('gets release notes with body "other-"', async () => {
       const prefix = 'other-';
@@ -372,7 +366,6 @@ describe('workers/repository/update/pr/changelog/release-notes', () => {
         tag: 'other-1.0.1',
         url: 'https://github.com/some/other-repository/releases/other-1.0.1',
       });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('gets release notes with body "other_v"', async () => {
       const prefix = 'other_v';
@@ -403,7 +396,6 @@ describe('workers/repository/update/pr/changelog/release-notes', () => {
         tag: 'other_v1.0.1',
         url: 'https://github.com/some/other-repository/releases/other_v1.0.1',
       });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('gets release notes with body "other@"', async () => {
       const prefix = 'other@';
@@ -434,7 +426,6 @@ describe('workers/repository/update/pr/changelog/release-notes', () => {
         tag: 'other@1.0.1',
         url: 'https://github.com/some/other-repository/releases/other@1.0.1',
       });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('gets release notes with body from gitlab repo ""', async () => {
@@ -468,7 +459,6 @@ describe('workers/repository/update/pr/changelog/release-notes', () => {
         tag: '1.0.1',
         url: 'https://gitlab.com/some/other-repository/tags/1.0.1',
       });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('gets release notes with body from gitlab repo "v"', async () => {
       const prefix = 'v';
@@ -501,7 +491,6 @@ describe('workers/repository/update/pr/changelog/release-notes', () => {
         tag: 'v1.0.1',
         url: 'https://gitlab.com/some/other-repository/tags/v1.0.1',
       });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
     it('gets release notes with body from gitlab repo "other-"', async () => {
       const prefix = 'other-';
@@ -534,7 +523,6 @@ describe('workers/repository/update/pr/changelog/release-notes', () => {
         tag: 'other-1.0.1',
         url: 'https://gitlab.com/some/other-repository/tags/other-1.0.1',
       });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('gets null from repository without gitlab/github in domain', async () => {
@@ -584,7 +572,6 @@ describe('workers/repository/update/pr/changelog/release-notes', () => {
         '2.0.0'
       );
       expect(res).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('handles wrong format', async () => {
@@ -606,7 +593,6 @@ describe('workers/repository/update/pr/changelog/release-notes', () => {
         '1.0.0'
       );
       expect(res).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('handles bad markdown', async () => {
@@ -628,7 +614,6 @@ describe('workers/repository/update/pr/changelog/release-notes', () => {
         '1.0.0'
       );
       expect(res).toBeNull();
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('parses angular.js', async () => {
@@ -654,7 +639,6 @@ describe('workers/repository/update/pr/changelog/release-notes', () => {
           'https://github.com/angular/angular.js/blob/HEAD/CHANGELOG.md',
         url: 'https://github.com/angular/angular.js/blob/HEAD/CHANGELOG.md#169-fiery-basilisk-2018-02-02',
       });
-      expect(httpMock.getTrace()).toMatchSnapshot();
     });
 
     it('parses gitlab.com/gitlab-org/gitter/webapp', async () => {
@@ -675,7 +659,7 @@ describe('workers/repository/update/pr/changelog/release-notes', () => {
         },
         '20.26.0'
       );
-      expect(httpMock.getTrace()).toMatchSnapshot();
+
       expect(res).toMatchSnapshot({
         notesSourceUrl:
           'https://gitlab.com/gitlab-org/gitter/webapp/blob/HEAD/CHANGELOG.md',
@@ -703,7 +687,7 @@ describe('workers/repository/update/pr/changelog/release-notes', () => {
         },
         '20.26.0'
       );
-      expect(httpMock.getTrace()).toMatchSnapshot();
+
       expect(res).toMatchSnapshot({
         notesSourceUrl:
           'https://my.custom.domain/gitlab-org/gitter/webapp/blob/HEAD/CHANGELOG.md',
@@ -729,7 +713,7 @@ describe('workers/repository/update/pr/changelog/release-notes', () => {
         },
         '22.0.0'
       );
-      expect(httpMock.getTrace()).toMatchSnapshot();
+
       expect(res).toMatchSnapshot({
         notesSourceUrl:
           'https://github.com/facebook/jest/blob/HEAD/CHANGELOG.md',
@@ -761,7 +745,7 @@ describe('workers/repository/update/pr/changelog/release-notes', () => {
         },
         '3.10.0'
       );
-      expect(httpMock.getTrace()).toMatchSnapshot();
+
       expect(res).toMatchSnapshot({
         notesSourceUrl:
           'https://github.com/nodeca/js-yaml/blob/HEAD/packages/foo/CHANGELOG.md',
@@ -787,7 +771,7 @@ describe('workers/repository/update/pr/changelog/release-notes', () => {
         },
         '3.10.0'
       );
-      expect(httpMock.getTrace()).toMatchSnapshot();
+
       expect(res).toMatchSnapshot({
         notesSourceUrl:
           'https://github.com/nodeca/js-yaml/blob/HEAD/CHANGELOG.md',
@@ -827,7 +811,7 @@ describe('workers/repository/update/pr/changelog/release-notes', () => {
           '15.3.0'
         );
         versionOneNotes = res;
-        expect(httpMock.getTrace()).toMatchSnapshot();
+
         expect(res).toMatchSnapshot({
           notesSourceUrl:
             'https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md',
@@ -854,7 +838,7 @@ describe('workers/repository/update/pr/changelog/release-notes', () => {
           '15.2.0'
         );
         versionTwoNotes = res;
-        expect(httpMock.getTrace()).toMatchSnapshot();
+
         expect(res).toMatchSnapshot({
           notesSourceUrl:
             'https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md',
@@ -881,7 +865,7 @@ describe('workers/repository/update/pr/changelog/release-notes', () => {
           '4.33.0'
         );
         versionTwoNotes = res;
-        expect(httpMock.getTrace()).toMatchSnapshot();
+
         expect(res).toMatchSnapshot({
           notesSourceUrl:
             'https://gitlab.com/itentialopensource/adapter-utils/blob/HEAD/CHANGELOG.md',
@@ -914,7 +898,7 @@ describe('workers/repository/update/pr/changelog/release-notes', () => {
           '4.33.0'
         );
         versionTwoNotes = res;
-        expect(httpMock.getTrace()).toMatchSnapshot();
+
         expect(res).toMatchSnapshot({
           notesSourceUrl:
             'https://gitlab.com/itentialopensource/adapter-utils/blob/HEAD/packages/foo/CHANGELOG.md',