Rename file useRecommendedPlugins to useRecommendedPluginsWithoutChannels.

This commit is contained in:
Gan Eng Chin 2023-03-21 21:13:19 +08:00
parent b129dd5173
commit e4a8d17ed3
No known key found for this signature in database
GPG Key ID: 94D5D972860ADB01
3 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@ import { render, screen } from '@testing-library/react';
* Internal dependencies
*/
import { useInstalledExtensions } from '~/marketing/hooks';
import { useRecommendedPluginsWithoutChannels } from './useRecommendedPlugins';
import { useRecommendedPluginsWithoutChannels } from './useRecommendedPluginsWithoutChannels';
import { DiscoverTools } from './DiscoverTools';
jest.mock( '@woocommerce/components', () => {
@ -20,7 +20,7 @@ jest.mock( '@woocommerce/components', () => {
};
} );
jest.mock( './useRecommendedPlugins', () => ( {
jest.mock( './useRecommendedPluginsWithoutChannels', () => ( {
useRecommendedPluginsWithoutChannels: jest.fn(),
} ) );

View File

@ -14,7 +14,7 @@ import {
CardBody,
CenteredSpinner,
} from '~/marketing/components';
import { useRecommendedPluginsWithoutChannels } from './useRecommendedPlugins';
import { useRecommendedPluginsWithoutChannels } from './useRecommendedPluginsWithoutChannels';
import { PluginsTabPanel } from './PluginsTabPanel';
import './DiscoverTools.scss';