From 9587581c4633f9deee4927ea074a4da7f000cb07 Mon Sep 17 00:00:00 2001
From: Rhys Arkins <rhys@arkins.net>
Date: Fri, 14 Dec 2018 09:10:13 +0100
Subject: [PATCH] tests: drop flakey changelog cache test

---
 test/workers/pr/changelog/index.spec.js | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/test/workers/pr/changelog/index.spec.js b/test/workers/pr/changelog/index.spec.js
index 0adbf5e2fe..81016f33f3 100644
--- a/test/workers/pr/changelog/index.spec.js
+++ b/test/workers/pr/changelog/index.spec.js
@@ -103,15 +103,6 @@ describe('workers/pr/changelog', () => {
         })
       ).toMatchSnapshot();
     });
-    it('returns cached JSON', async () => {
-      ghGot.mockClear();
-      const first = await getChangeLogJSON({ ...upgrade });
-      const firstCallsCount = ghGot.mock.calls.length;
-      const second = await getChangeLogJSON({ ...upgrade });
-      const secondCallsCount = ghGot.mock.calls.length - firstCallsCount;
-      expect(first).toEqual(second);
-      expect(firstCallsCount).toBeGreaterThan(secondCallsCount);
-    });
     it('filters unnecessary warns', async () => {
       ghGot.mockImplementation(() => {
         throw new Error('Unknown Github Repo');
-- 
GitLab