From 6b53ecac4d47f8bde1426e46f18fca360839e8dc Mon Sep 17 00:00:00 2001 From: Huw Wilkins Date: Mon, 15 Jan 2024 10:52:52 +1100 Subject: [PATCH] Prettier fix. --- src/components/LogIn/LogIn.test.tsx | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/src/components/LogIn/LogIn.test.tsx b/src/components/LogIn/LogIn.test.tsx index b280d0594..a1ffd84dd 100644 --- a/src/components/LogIn/LogIn.test.tsx +++ b/src/components/LogIn/LogIn.test.tsx @@ -148,16 +148,12 @@ describe("LogIn", () => { // for. This is necessary because we don't have a full store set up which // can dispatch thunks (and we don't need to handle the thunk, just know it // was dispatched). - jest - .spyOn(appThunks, "connectAndStartPolling") - .mockImplementation( - jest - .fn() - .mockReturnValue({ - type: "connectAndStartPolling", - catch: jest.fn(), - }), - ); + jest.spyOn(appThunks, "connectAndStartPolling").mockImplementation( + jest.fn().mockReturnValue({ + type: "connectAndStartPolling", + catch: jest.fn(), + }), + ); const state = rootStateFactory.build({ general: generalStateFactory.withConfig().build({ config: configFactory.build({