diff --git a/src/__mocks__/index.ts b/src/__mocks__/index.ts deleted file mode 100644 index 37e8cf61..00000000 --- a/src/__mocks__/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './filter_mock_data' -export * from './table_mock_data' diff --git a/src/__mocks__/filter_mock_data.ts b/src/components/Filters/fixtures/0_sample_data.ts similarity index 93% rename from src/__mocks__/filter_mock_data.ts rename to src/components/Filters/fixtures/0_sample_data.ts index 639963db..d69d4976 100644 --- a/src/__mocks__/filter_mock_data.ts +++ b/src/components/Filters/fixtures/0_sample_data.ts @@ -1,4 +1,4 @@ -import { FilterOptions } from '../components/Filters' +import { FilterOptions } from '../types' export const mockDynamicFilterOptions = [ { diff --git a/src/components/Filters/utils.ts b/src/components/Filters/utils.ts index 3fd3bc02..ae264e56 100644 --- a/src/components/Filters/utils.ts +++ b/src/components/Filters/utils.ts @@ -18,7 +18,7 @@ import { import { mockDynamicFilterOptions, mockFilterOptions -} from '__mocks__/filter_mock_data' +} from './fixtures/0_sample_data' import { styleguide, ThemeType } from 'components/assets/styles' import { useEffect, useState } from 'react'