From 569a89ce2dc74796ed837e0b2b388cb40ac80509 Mon Sep 17 00:00:00 2001 From: Claus-Peter Huebner Date: Wed, 10 Apr 2024 21:02:22 +0200 Subject: [PATCH] linting --- frontend/src/pages/UserSearch.spec.js | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/frontend/src/pages/UserSearch.spec.js b/frontend/src/pages/UserSearch.spec.js index 20116b523..7a991ac0f 100644 --- a/frontend/src/pages/UserSearch.spec.js +++ b/frontend/src/pages/UserSearch.spec.js @@ -1,4 +1,4 @@ -import { mount, RouterLinkStub } from '@vue/test-utils' +import { mount } from '@vue/test-utils' import UserSearch from './UserSearch' import { toastErrorSpy } from '../../test/testSetup' import { authenticateGmsUserSearch } from '@/graphql/queries' @@ -7,10 +7,6 @@ const localVue = global.localVue window.scrollTo = jest.fn() -const stubs = { - RouterLink: RouterLinkStub, -} - const apolloQueryMock = jest .fn() .mockResolvedValueOnce({ @@ -22,7 +18,6 @@ const apolloQueryMock = jest }) .mockResolvedValue('default') - describe('UserSearch', () => { let wrapper @@ -71,9 +66,7 @@ describe('UserSearch', () => { }) it('toasts an error message', () => { - expect(toastErrorSpy).toBeCalledWith( - 'authenticateGmsUserSearch failed!', - ) + expect(toastErrorSpy).toBeCalledWith('authenticateGmsUserSearch failed!') }) }) })