Removed no longer needed eslint disable comments

This commit is contained in:
Alejandro Celaya
2022-03-26 13:07:58 +01:00
parent 28a5166f56
commit 98450ebec3
12 changed files with 10 additions and 13 deletions

View File

@@ -73,7 +73,7 @@ describe('<App />', () => {
['/bar', 'shlink-wrapper'],
['/', 'shlink-wrapper d-flex d-md-block align-items-center'],
])('renders expected classes on shlink-wrapper based on current pathname', (pathname, expectedClasses) => {
(useLocation as any).mockReturnValue({ pathname }); // eslint-disable-line @typescript-eslint/no-unsafe-call
(useLocation as any).mockReturnValue({ pathname });
const wrapper = createWrapper();
const shlinkWrapper = wrapper.find('.shlink-wrapper');