webpack/scenes/ContentViews/Create/__tests__/createContentView.test.js in katello-4.2.2 vs webpack/scenes/ContentViews/Create/__tests__/createContentView.test.js in katello-4.3.0.rc1
- old
+ new
@@ -2,11 +2,10 @@
import { renderWithRedux, patientlyWaitFor, fireEvent } from 'react-testing-lib-wrapper';
import { nockInstance, assertNockRequest } from '../../../../test-utils/nockWrapper';
import api from '../../../../services/api';
import CreateContentViewForm from '../CreateContentViewForm';
-
-const cvCreateData = require('./contentViewCreateResult.fixtures.json');
+import cvCreateData from './contentViewCreateResult.fixtures.json';
const cvCreatePath = api.getApiUrl('/content_views');
const setModalOpen = jest.fn();