diff --git a/lib/datasource/bitbucket-tags/index.spec.ts b/lib/datasource/bitbucket-tags/index.spec.ts
index 33ffa48a69222a85ec1436468c85ac1b5beb5df9..87653aa00e3ac26cbe0afbcb19bd17b93cf3c354 100644
--- a/lib/datasource/bitbucket-tags/index.spec.ts
+++ b/lib/datasource/bitbucket-tags/index.spec.ts
@@ -8,6 +8,9 @@ describe(getName(__filename), () => {
     httpMock.reset();
     httpMock.setup();
   });
+  afterEach(() => {
+    httpMock.reset();
+  });
   describe('getReleases', () => {
     it('returns tags from bitbucket cloud', async () => {
       const body = {
diff --git a/lib/datasource/github-tags/index.spec.ts b/lib/datasource/github-tags/index.spec.ts
index 3353f3a0fe796b7d114f7c38d9c0793b25fd1028..34f9e34f3f507e42aa4ef70b24eb6273e617cf0c 100644
--- a/lib/datasource/github-tags/index.spec.ts
+++ b/lib/datasource/github-tags/index.spec.ts
@@ -19,6 +19,9 @@ describe('datasource/github-tags', () => {
       token: 'some-token',
     });
   });
+  afterEach(() => {
+    httpMock.reset();
+  });
 
   describe('getDigest', () => {
     const lookupName = 'some/dep';
@@ -114,6 +117,9 @@ describe('datasource/github-tags', () => {
         token: 'some-token',
       });
     });
+    afterEach(() => {
+      httpMock.reset();
+    });
 
     const depName = 'some/dep2';
 
diff --git a/lib/datasource/gitlab-tags/index.spec.ts b/lib/datasource/gitlab-tags/index.spec.ts
index 6760c2ec14c20425ff9e49f433dbe64be9f6b817..e1eba98e5a5f02d01e2a224f0ce0f97330be7906 100644
--- a/lib/datasource/gitlab-tags/index.spec.ts
+++ b/lib/datasource/gitlab-tags/index.spec.ts
@@ -7,6 +7,9 @@ describe('datasource/gitlab-tags', () => {
     httpMock.reset();
     httpMock.setup();
   });
+  afterEach(() => {
+    httpMock.reset();
+  });
   describe('getReleases', () => {
     it('returns tags from custom registry', async () => {
       const body = [
diff --git a/lib/platform/bitbucket-server/index.spec.ts b/lib/platform/bitbucket-server/index.spec.ts
index 06206b8dbc5865a16144af629eae48bbe9e37934..aac0a284782968b0a91ca08dadc849f3c3d2da50 100644
--- a/lib/platform/bitbucket-server/index.spec.ts
+++ b/lib/platform/bitbucket-server/index.spec.ts
@@ -231,6 +231,9 @@ describe(getName(__filename), () => {
           password,
         });
       });
+      afterEach(() => {
+        httpMock.reset();
+      });
 
       describe('initPlatform()', () => {
         it('should throw if no endpoint', () => {
diff --git a/lib/platform/bitbucket/comments.spec.ts b/lib/platform/bitbucket/comments.spec.ts
index ca2cee98b715632a7bf4fe7793d6f0a132d8f38b..7cbfb5c34a0b3cc6ac58cd99cd064411e702e4f9 100644
--- a/lib/platform/bitbucket/comments.spec.ts
+++ b/lib/platform/bitbucket/comments.spec.ts
@@ -16,6 +16,9 @@ describe(getName(__filename), () => {
 
     setBaseUrl(baseUrl);
   });
+  afterEach(() => {
+    httpMock.reset();
+  });
 
   describe('ensureComment()', () => {
     it('does not throw', async () => {
diff --git a/lib/platform/bitbucket/index.spec.ts b/lib/platform/bitbucket/index.spec.ts
index da0a9e7886191af42176c94e9c77e0ad687bf366..b3363320c87d544069547c19984df2addc8e423b 100644
--- a/lib/platform/bitbucket/index.spec.ts
+++ b/lib/platform/bitbucket/index.spec.ts
@@ -62,6 +62,9 @@ describe('platform/bitbucket', () => {
 
     setBaseUrl(baseUrl);
   });
+  afterEach(() => {
+    httpMock.reset();
+  });
 
   async function initRepoMock(
     config?: Partial<RepoParams>,
diff --git a/lib/platform/bitbucket/utils.spec.ts b/lib/platform/bitbucket/utils.spec.ts
index abe9c14f0fc3efbb85235334d68fefa604d2dc68..7d9af623240b4913497358df42b9ffef3e8a1aad 100644
--- a/lib/platform/bitbucket/utils.spec.ts
+++ b/lib/platform/bitbucket/utils.spec.ts
@@ -35,5 +35,6 @@ describe('accumulateValues()', () => {
     expect(res).toHaveLength(25);
     expect(httpMock.getTrace()).toHaveLength(3);
     expect(httpMock.getTrace()).toMatchSnapshot();
+    httpMock.reset();
   });
 });
diff --git a/lib/platform/gitea/gitea-helper.spec.ts b/lib/platform/gitea/gitea-helper.spec.ts
index 7b588e6fb02e7473754904cfe39da0ae6e6971ba..77f3f3f23ae35a92e5f466d4c6d6dfd8b544e5a7 100644
--- a/lib/platform/gitea/gitea-helper.spec.ts
+++ b/lib/platform/gitea/gitea-helper.spec.ts
@@ -143,6 +143,9 @@ describe('platform/gitea/gitea-helper', () => {
     httpMock.setup();
     setBaseUrl(baseUrl);
   });
+  afterEach(() => {
+    httpMock.reset();
+  });
 
   describe('getCurrentUser', () => {
     it('should call /api/v1/user endpoint', async () => {
diff --git a/lib/platform/gitlab/index.spec.ts b/lib/platform/gitlab/index.spec.ts
index 48f2f371d6d6c4026fc92402fbff18ed50b588e7..04b889d634c1e6af801c0f3ac5df9a0055990d9c 100644
--- a/lib/platform/gitlab/index.spec.ts
+++ b/lib/platform/gitlab/index.spec.ts
@@ -40,6 +40,9 @@ describe('platform/gitlab', () => {
     httpMock.reset();
     httpMock.setup();
   });
+  afterEach(() => {
+    httpMock.reset();
+  });
 
   describe('initPlatform()', () => {
     it(`should throw if no token`, async () => {
diff --git a/lib/util/http/bitbucket-server.spec.ts b/lib/util/http/bitbucket-server.spec.ts
index 06092fa934df9bef2b174019b0a03ec2a1f32a1c..f4daf43f7fbbe6bd9ed6ce92a016522992d07eaf 100644
--- a/lib/util/http/bitbucket-server.spec.ts
+++ b/lib/util/http/bitbucket-server.spec.ts
@@ -27,6 +27,9 @@ describe(getName(__filename), () => {
 
     setBaseUrl(baseUrl);
   });
+  afterEach(() => {
+    httpMock.reset();
+  });
   it('posts', async () => {
     const body = ['a', 'b'];
     httpMock.scope(baseUrl).post('/some-url').reply(200, body);
diff --git a/lib/util/http/bitbucket.spec.ts b/lib/util/http/bitbucket.spec.ts
index d9fe541ae4656b71fe21341795a17a0da39cbb3e..1ef4617c4b236d03f27606b7cb78ea813f5e086a 100644
--- a/lib/util/http/bitbucket.spec.ts
+++ b/lib/util/http/bitbucket.spec.ts
@@ -27,6 +27,9 @@ describe(getName(__filename), () => {
 
     setBaseUrl(baseUrl);
   });
+  afterEach(() => {
+    httpMock.reset();
+  });
   it('posts', async () => {
     const body = ['a', 'b'];
     httpMock.scope(baseUrl).post('/some-url').reply(200, body);
diff --git a/lib/util/http/gitea.spec.ts b/lib/util/http/gitea.spec.ts
index 9225146952ee301a506ea70e32bc13f6a148c3bb..6af6acf6f01229239a0c38dde0680723942502b8 100644
--- a/lib/util/http/gitea.spec.ts
+++ b/lib/util/http/gitea.spec.ts
@@ -18,6 +18,10 @@ describe(getName(__filename), () => {
     setBaseUrl(baseUrl);
   });
 
+  afterEach(() => {
+    httpMock.reset();
+  });
+
   it('supports responses without pagination when enabled', async () => {
     httpMock
       .scope(baseUrl)
diff --git a/lib/util/http/host-rules.spec.ts b/lib/util/http/host-rules.spec.ts
index 3a4c1acd15ad94bc12a1d40c0e86726875dc369c..fc4aad4f8c4fd268a6099f27397a80f6137f7b3c 100644
--- a/lib/util/http/host-rules.spec.ts
+++ b/lib/util/http/host-rules.spec.ts
@@ -39,6 +39,7 @@ describe(getName(__filename), () => {
 
   afterEach(() => {
     delete process.env.HTTP_PROXY;
+    httpMock.reset();
   });
 
   it('adds token', () => {