Skip to content

Commit

Permalink
Fix mock in test
Browse files Browse the repository at this point in the history
  • Loading branch information
grotlue committed May 23, 2024
1 parent ab19b8e commit fd626ca
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
*/
import * as React from 'react';
import { render, screen } from 'wrappedTestingLibrary';
import useIndexSetTemplateDefaults from 'src/components/indices/IndexSetTemplates/hooks/useIndexSetTemplateDefaults';

import useIndexSetTemplateDefaults from 'components/indices/IndexSetTemplates/hooks/useIndexSetTemplateDefaults';
import asMock from 'helpers/mocking/AsMock';
import useProfileOptions from 'components/indices/IndexSetFieldTypeProfiles/hooks/useProfileOptions';
import { DATA_TIERING_TYPE } from 'components/indices/data-tiering';
Expand Down Expand Up @@ -242,7 +242,7 @@ const indexSetTemplateDefaults = {
};

jest.mock('components/indices/IndexSetFieldTypeProfiles/hooks/useProfileOptions', () => jest.fn());
jest.mock('components/indices/hooks/useIndexSetTemplateDefaults', () => jest.fn());
jest.mock('components/indices/IndexSetTemplates/hooks/useIndexSetTemplateDefaults', () => jest.fn());

describe('IndexSetConfigurationForm', () => {
beforeEach(() => {
Expand Down

0 comments on commit fd626ca

Please sign in to comment.