webpack/scenes/Subscriptions/__tests__/SubscriptionsPage.test.js in katello-3.10.2 vs webpack/scenes/Subscriptions/__tests__/SubscriptionsPage.test.js in katello-3.11.0.rc1
- old
+ new
@@ -6,9 +6,11 @@
import { loadSubscriptions, updateQuantity, loadTableColumns } from '../SubscriptionActions';
import { loadSetting } from '../../../move_to_foreman/Settings/SettingsActions';
import { createColumns, updateColumns } from '../../../scenes/Settings/Tables/TableActions';
jest.mock('../../../move_to_foreman/foreman_toast_notifications');
+jest.mock('foremanReact/components/Pagination/PaginationWrapper', () => (<div>Pagination Mock</div>));
+
const loadTables = () => new Promise((resolve) => {
resolve();
});
describe('subscriptions page', () => {