From 325822287388ed8722e448187e3e86117dc46596 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Thu, 3 Sep 2026 21:30:01 +0300 Subject: [PATCH] lint --- test/unit/specs/stores/follow_requests.spec.js | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/test/unit/specs/stores/follow_requests.spec.js b/test/unit/specs/stores/follow_requests.spec.js index d2b81680b..5e15b8004 100644 --- a/test/unit/specs/stores/follow_requests.spec.js +++ b/test/unit/specs/stores/follow_requests.spec.js @@ -117,7 +117,6 @@ describe('Follow Requests store', () => { (vis) => `${vis}${intent}ConfirmDialog`, ) - describe('Dialog calls', () => { it(`${modalCalls[0]} should show dialog and set tempId`, async () => { const store = useFollowRequestsStore() @@ -141,7 +140,9 @@ describe('Follow Requests store', () => { describe('Fork calls', () => { it(`Should call ${doCall} if confirmations are disabled (${forkProperty} = false)`, async () => { const store = useFollowRequestsStore() - const modalSpy = vi.spyOn(store, modalCalls[0]).mockImplementation(() => ({})) + const modalSpy = vi + .spyOn(store, modalCalls[0]) + .mockImplementation(() => ({})) const apiSpy = vi.spyOn(store, doCall).mockImplementation(() => ({})) useMergedConfigStore().mergedConfig = { [forkProperty]: false } @@ -154,7 +155,9 @@ describe('Follow Requests store', () => { it(`Should call ${modalCalls[0]} if confirmations are enabled (${forkProperty} = true)`, async () => { const store = useFollowRequestsStore() - const modalSpy = vi.spyOn(store, modalCalls[0]).mockImplementation(() => ({})) + const modalSpy = vi + .spyOn(store, modalCalls[0]) + .mockImplementation(() => ({})) const apiSpy = vi.spyOn(store, doCall).mockImplementation(() => ({})) useMergedConfigStore().mergedConfig = { [forkProperty]: true } @@ -208,7 +211,10 @@ describe('Follow Requests store', () => { store.findFollowRequestNotificationId = vi.fn() store.findFollowRequestNotificationId.mockReturnValue('n91') - const spy = vi.spyOn(useNotificationsStore(), 'markSingleNotificationAsSeen') + const spy = vi.spyOn( + useNotificationsStore(), + 'markSingleNotificationAsSeen', + ) mockFetch.mockResolvedValueOnce( new Response(JSON.stringify('ok'), {