From c8424e0b1016462d7da239e3e8b8589169bd17d4 Mon Sep 17 00:00:00 2001 From: Trevor Buckner Date: Thu, 26 Sep 2024 19:12:19 -0400 Subject: [PATCH] Remove test that no longer applies --- server/homebrew.api.spec.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/server/homebrew.api.spec.js b/server/homebrew.api.spec.js index 6e7c36641..30a006972 100644 --- a/server/homebrew.api.spec.js +++ b/server/homebrew.api.spec.js @@ -560,16 +560,6 @@ brew`); views : 0 }); }); - - it('should handle google error', async()=>{ - google.newGoogleBrew = jest.fn(()=>{ - throw 'err'; - }); - await api.newBrew({ body: { text: 'asdf', title: '' }, query: { saveToGoogle: true }, account: { username: 'test user' } }, res); - - expect(res.status).toHaveBeenCalledWith(500); - expect(res.send).toHaveBeenCalledWith('err'); - }); }); describe('deleteGoogleBrew', ()=>{