diff --git a/src/components/Select/__tests__/Select.error.test.tsx b/src/components/Select/__tests__/Select.error.test.tsx index 94f4054428..db2727cbbb 100644 --- a/src/components/Select/__tests__/Select.error.test.tsx +++ b/src/components/Select/__tests__/Select.error.test.tsx @@ -1,7 +1,6 @@ import React from 'react'; -import {render, screen} from '@testing-library/react'; - +import {render, screen} from '../../../../test-utils/utils'; import {CONTROL_ERROR_MESSAGE_QA} from '../../controls/utils'; import {Select} from '../Select'; diff --git a/src/components/Table/__tests__/Table.test.tsx b/src/components/Table/__tests__/Table.test.tsx index ea51de14d2..b23a67be02 100644 --- a/src/components/Table/__tests__/Table.test.tsx +++ b/src/components/Table/__tests__/Table.test.tsx @@ -183,7 +183,7 @@ describe('Table', () => { const expectedFlag = ROW_ID === i; expect(row.className.includes(EXPTECTED_CLASS_NAME)).toBe(expectedFlag); - expect(row.className.includes('yc-table__row_disabled')).toBe(expectedFlag); + expect(row.className.includes('g-table__row_disabled')).toBe(expectedFlag); }); }); }); diff --git a/src/components/Table/hoc/withTableSettings/__tests__/withTableSettings.test.tsx b/src/components/Table/hoc/withTableSettings/__tests__/withTableSettings.test.tsx index 5fa98bd9f1..2591bccc3b 100644 --- a/src/components/Table/hoc/withTableSettings/__tests__/withTableSettings.test.tsx +++ b/src/components/Table/hoc/withTableSettings/__tests__/withTableSettings.test.tsx @@ -1,8 +1,8 @@ import React from 'react'; -import {render, screen} from '@testing-library/react'; import userEvent from '@testing-library/user-event'; +import {render, screen} from '../../../../../../test-utils/utils'; import type {TableColumnConfig} from '../../../Table'; import {Table} from '../../../Table'; import type {TableSettingsData} from '../withTableSettings'; diff --git a/src/hooks/useControlledState/useControlledState.test.tsx b/src/hooks/useControlledState/useControlledState.test.tsx index fb54d2344e..221871a238 100644 --- a/src/hooks/useControlledState/useControlledState.test.tsx +++ b/src/hooks/useControlledState/useControlledState.test.tsx @@ -1,8 +1,9 @@ import React from 'react'; -import {act, render, renderHook, screen} from '@testing-library/react'; import userEvent from '@testing-library/user-event'; +import {act, render, renderHook, screen} from '../../../test-utils/utils'; + import {useControlledState} from './useControlledState'; describe('useControlledState', function () {