Skip to content

Commit

Permalink
style: Delete unnecesary code
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisChV committed Oct 21, 2023
1 parent 1925fae commit 0be804c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
5 changes: 0 additions & 5 deletions src/taxonomy/api/hooks/api.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,12 @@ const mockHttpClient = {

jest.mock('@tanstack/react-query', () => ({
useQuery: jest.fn(),
useMutation: jest.fn(),
}));

jest.mock('@edx/frontend-platform/auth', () => ({
getAuthenticatedHttpClient: jest.fn(() => mockHttpClient),
}));

jest.mock('../../../utils', () => ({
downloadDataAsFile: jest.fn(),
}));

describe('useTaxonomyListData', () => {
afterEach(() => {
jest.clearAllMocks();
Expand Down
7 changes: 0 additions & 7 deletions src/taxonomy/api/types.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,6 @@
* @property {TaxonomyListData} data
*/

/**
* @typedef {Object} ExportRequestParams
* @property {number} pk
* @property {string} format
* @property {string} name
*/

/**
* @typedef {Object} UseQueryResult
* @property {Object} data
Expand Down

0 comments on commit 0be804c

Please sign in to comment.