Skip to content

Commit e3b446b

Browse files
committed
fix: lint
1 parent 11e2f26 commit e3b446b

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

src/taxonomy/tag-list/TagListTable.test.jsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import React from 'react';
22
import { AxiosError } from 'axios';
3-
import userEvent from '@testing-library/user-event';
43
import {
54
render,
65
waitFor,
@@ -12,9 +11,9 @@ import {
1211
cleanup,
1312
initializeMocks,
1413
} from '@src/testUtils';
15-
import * as apiHooksModule from '../data/apiHooks';
14+
import * as apiHooksModule from '@src/taxonomy/data/apiHooks';
15+
import * as treeTableModule from '@src/taxonomy/tree-table';
1616
import * as hooksModule from './hooks';
17-
import * as treeTableModule from '../tree-table';
1817
import TagListTable from './TagListTable';
1918

2019
let axiosMock;
@@ -117,7 +116,8 @@ const subTagsUrl =
117116
'http://localhost:18010/api/content_tagging/v1/taxonomies/1/tags/?full_depth_threshold=10000&parent_tag=root+tag+1';
118117
const createTagUrl = 'http://localhost:18010/api/content_tagging/v1/taxonomies/1/tags/';
119118
const deleteTagUrl = createTagUrl;
120-
const deleteConfirmMessage = 'Warning: are you sure you want to delete this tag and all its subtags and descendants? Any tags applied to course content will be deleted.';
119+
const deleteConfirmMessage =
120+
'Warning: are you sure you want to delete this tag and all its subtags and descendants? Any tags applied to course content will be deleted.';
121121

122122
const renderTagListTable = (maxDepth = 3) => render(<TagListTable taxonomyId={1} maxDepth={maxDepth} />);
123123

src/taxonomy/tag-list/hooks.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ import messages from './messages';
1818
import { getTagListRowData, getTagWithDescendantsCount } from './utils';
1919
import { Row } from '@tanstack/react-table';
2020

21-
const DELETE_CONFIRM_MESSAGE = 'Warning: are you sure you want to delete this tag and all its subtags and descendants? Any tags applied to course content will be deleted.';
21+
const DELETE_CONFIRM_MESSAGE =
22+
'Warning: are you sure you want to delete this tag and all its subtags and descendants? Any tags applied to course content will be deleted.';
2223

2324
/** Interface for table mode actions for React's `useReducer` hook.
2425
*

0 commit comments

Comments
 (0)