src: Remove SmartComponents/PresentationalComponents split

Just have a directory per component.
This commit is contained in:
Sanne Raymaekers 2021-04-20 16:15:47 +02:00
parent 01963bf877
commit 1b9cf6df7b
29 changed files with 15 additions and 15 deletions

View file

@ -4,7 +4,7 @@ import React from 'react';
import { screen, getByText, waitFor, waitForElementToBeRemoved, within } from '@testing-library/react';
import userEvent from '@testing-library/user-event';
import { renderWithReduxRouter } from '../../testUtils';
import CreateImageWizard from '../../../SmartComponents/CreateImageWizard/CreateImageWizard';
import CreateImageWizard from '../../../Components/CreateImageWizard/CreateImageWizard';
import api from '../../../api.js';
let historySpy = undefined;

View file

@ -1,9 +1,9 @@
import React from 'react';
import { screen, render } from '@testing-library/react';
import { renderWithReduxRouter } from '../../testUtils';
import ImagesTable from '../../../SmartComponents/ImagesTable/ImagesTable';
import ImageBuildStatus from '../../../PresentationalComponents/ImagesTable/ImageBuildStatus';
import Upload from '../../../PresentationalComponents/ImagesTable/Upload';
import ImagesTable from '../../../Components/ImagesTable/ImagesTable';
import ImageBuildStatus from '../../../Components/ImagesTable/ImageBuildStatus';
import Upload from '../../../Components/ImagesTable/Upload';
import '@testing-library/jest-dom';
const store = {

View file

@ -1,7 +1,7 @@
import React from 'react';
import { screen } from '@testing-library/react';
import { renderWithReduxRouter } from '../../testUtils';
import LandingPage from '../../../SmartComponents/LandingPage/LandingPage';
import LandingPage from '../../../Components/LandingPage/LandingPage';
import api from '../../../api.js';
describe('Landing Page', () => {

View file

@ -1,5 +1,5 @@
import { actions } from '../../../store/actions';
import types from '../../../store/types';
import { actions } from '../../store/actions';
import types from '../../store/types';
const compose = {
'77e4c693-0497-4b85-936d-b2a3ad69571b': {

View file

@ -1,5 +1,5 @@
import { composes } from '../../../store/reducers/composes';
import types from '../../../store/types';
import { composes } from '../../store/reducers/composes';
import types from '../../store/types';
const compose = {
id: '77e4c693-0497-4b85-936d-b2a3ad69571b',