Re-export all React Testing Library functions (#23522)

Этот коммит содержится в:
Harrison Healey
2023-06-05 12:49:31 -04:00
коммит произвёл GitHub
родитель f4f420dd93
Коммит 9c656c25d9
96 изменённых файлов: 282 добавлений и 322 удалений

Просмотреть файл

@@ -1,11 +1,15 @@
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
import {fireEvent, screen, act} from '@testing-library/react';
import React from 'react';
import * as reactRedux from 'react-redux';
import {renderWithIntlAndStore} from 'tests/react_testing_utils';
import {
act,
fireEvent,
renderWithIntlAndStore,
screen,
} from 'tests/react_testing_utils';
import {TestHelper} from 'utils/test_helper';
import {GatherIntent} from './gather_intent';

Просмотреть файл

@@ -1,10 +1,9 @@
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
import {fireEvent, screen} from '@testing-library/react';
import React from 'react';
import {renderWithIntl} from 'tests/react_testing_utils';
import {fireEvent, renderWithIntl, screen} from 'tests/react_testing_utils';
import {GatherIntentModal, GatherIntentModalProps} from './gather_intent_modal';