diff --git a/minimal_redux_poc/__tests__/src/actions/index.test.js b/minimal_redux_poc/src/__tests__/actions/index.test.js similarity index 97% rename from minimal_redux_poc/__tests__/src/actions/index.test.js rename to minimal_redux_poc/src/__tests__/actions/index.test.js index f12edfc..0ca1050 100644 --- a/minimal_redux_poc/__tests__/src/actions/index.test.js +++ b/minimal_redux_poc/src/__tests__/actions/index.test.js @@ -1,8 +1,8 @@ import configureMockStore from 'redux-mock-store'; import thunk from 'redux-thunk'; -import * as actions from '../../../src/actions/index'; -import ActionTypes from '../../../src/action-types'; +import * as actions from '../../actions/index'; +import ActionTypes from '../../action-types'; const middlewares = [thunk]; const mockStore = configureMockStore(middlewares); diff --git a/minimal_redux_poc/__tests__/src/components/Display.test.js b/minimal_redux_poc/src/__tests__/components/Display.test.js similarity index 86% rename from minimal_redux_poc/__tests__/src/components/Display.test.js rename to minimal_redux_poc/src/__tests__/components/Display.test.js index 0ef9515..ad8cd56 100644 --- a/minimal_redux_poc/__tests__/src/components/Display.test.js +++ b/minimal_redux_poc/src/__tests__/components/Display.test.js @@ -1,8 +1,8 @@ import React from 'react'; import { shallow } from 'enzyme'; -import Display from '../../../src/components/Display'; -import ManifestMetadata from '../../../src/components/ManifestMetadata'; -import fixture from '../../fixtures/2.json'; +import Display from '../../components/Display'; +import ManifestMetadata from '../../components/ManifestMetadata'; +import fixture from '../fixtures/2.json'; describe('Display', () => { it('renders without an error', () => { diff --git a/minimal_redux_poc/__tests__/src/components/ManifestListItem.test.js b/minimal_redux_poc/src/__tests__/components/ManifestListItem.test.js similarity index 86% rename from minimal_redux_poc/__tests__/src/components/ManifestListItem.test.js rename to minimal_redux_poc/src/__tests__/components/ManifestListItem.test.js index 2be1cd2..b7e3bc4 100644 --- a/minimal_redux_poc/__tests__/src/components/ManifestListItem.test.js +++ b/minimal_redux_poc/src/__tests__/components/ManifestListItem.test.js @@ -1,7 +1,7 @@ import React from 'react'; import { shallow } from 'enzyme'; -import { store } from '../../../src/store'; -import ManifestListItem from '../../../src/components/ManifestListItem'; +import { store } from '../../store'; +import ManifestListItem from '../../components/ManifestListItem'; describe('ManifestListItem', () => { it('renders without an error', () => { diff --git a/minimal_redux_poc/__tests__/src/components/ManifestMetadata.test.js b/minimal_redux_poc/src/__tests__/components/ManifestMetadata.test.js similarity index 75% rename from minimal_redux_poc/__tests__/src/components/ManifestMetadata.test.js rename to minimal_redux_poc/src/__tests__/components/ManifestMetadata.test.js index 404ab7c..75c1e63 100644 --- a/minimal_redux_poc/__tests__/src/components/ManifestMetadata.test.js +++ b/minimal_redux_poc/src/__tests__/components/ManifestMetadata.test.js @@ -1,8 +1,8 @@ import React from 'react'; import { shallow } from 'enzyme'; -import { actions, store } from '../../../src/store'; -import ManifestMetadata from '../../../src/components/ManifestMetadata'; -import fixture from '../../fixtures/2.json'; +import { actions, store } from '../../store'; +import ManifestMetadata from '../../components/ManifestMetadata'; +import fixture from '../fixtures/2.json'; describe('ManifestMetadata', () => { let wrapper; diff --git a/minimal_redux_poc/__tests__/src/components/Window.test.js b/minimal_redux_poc/src/__tests__/components/Window.test.js similarity index 91% rename from minimal_redux_poc/__tests__/src/components/Window.test.js rename to minimal_redux_poc/src/__tests__/components/Window.test.js index 5dbe317..6278511 100644 --- a/minimal_redux_poc/__tests__/src/components/Window.test.js +++ b/minimal_redux_poc/src/__tests__/components/Window.test.js @@ -1,8 +1,8 @@ import React from 'react'; import { mount, shallow } from 'enzyme'; -import { actions, store } from '../../../src/store'; -import Window from '../../../src/components/Window'; -import fixture from '../../fixtures/24.json'; +import { actions, store } from '../../store'; +import Window from '../../components/Window'; +import fixture from '../fixtures/24.json'; describe('Window', () => { let wrapper; diff --git a/minimal_redux_poc/__tests__/src/components/WindowTopBar.test.js b/minimal_redux_poc/src/__tests__/components/WindowTopBar.test.js similarity index 81% rename from minimal_redux_poc/__tests__/src/components/WindowTopBar.test.js rename to minimal_redux_poc/src/__tests__/components/WindowTopBar.test.js index 6e24e2c..cf9a89d 100644 --- a/minimal_redux_poc/__tests__/src/components/WindowTopBar.test.js +++ b/minimal_redux_poc/src/__tests__/components/WindowTopBar.test.js @@ -1,8 +1,8 @@ import React from 'react'; import { shallow } from 'enzyme'; -import { actions, store } from '../../../src/store'; -import WindowTopBar from '../../../src/components/WindowTopBar'; -import fixture from '../../fixtures/24.json'; +import { actions, store } from '../../store'; +import WindowTopBar from '../../components/WindowTopBar'; +import fixture from '../fixtures/24.json'; describe('Window', () => { let wrapper; diff --git a/minimal_redux_poc/__tests__/src/components/Workspace.test.js b/minimal_redux_poc/src/__tests__/components/Workspace.test.js similarity index 77% rename from minimal_redux_poc/__tests__/src/components/Workspace.test.js rename to minimal_redux_poc/src/__tests__/components/Workspace.test.js index c935498..35e4662 100644 --- a/minimal_redux_poc/__tests__/src/components/Workspace.test.js +++ b/minimal_redux_poc/src/__tests__/components/Workspace.test.js @@ -1,8 +1,8 @@ import React from 'react'; import { shallow } from 'enzyme'; -import { actions, store } from '../../../src/store'; -import Workspace from '../../../src/components/Workspace'; -import fixture from '../../fixtures/2.json'; +import { actions, store } from '../../store'; +import Workspace from '../../components/Workspace'; +import fixture from '../fixtures/2.json'; describe('Workspace', () => { let wrapper; diff --git a/minimal_redux_poc/__tests__/fixtures/2.json b/minimal_redux_poc/src/__tests__/fixtures/2.json similarity index 100% rename from minimal_redux_poc/__tests__/fixtures/2.json rename to minimal_redux_poc/src/__tests__/fixtures/2.json diff --git a/minimal_redux_poc/__tests__/fixtures/24.json b/minimal_redux_poc/src/__tests__/fixtures/24.json similarity index 100% rename from minimal_redux_poc/__tests__/fixtures/24.json rename to minimal_redux_poc/src/__tests__/fixtures/24.json diff --git a/minimal_redux_poc/__tests__/src/reducers/config.test.js b/minimal_redux_poc/src/__tests__/reducers/config.test.js similarity index 91% rename from minimal_redux_poc/__tests__/src/reducers/config.test.js rename to minimal_redux_poc/src/__tests__/reducers/config.test.js index 11836e0..2ba9085 100644 --- a/minimal_redux_poc/__tests__/src/reducers/config.test.js +++ b/minimal_redux_poc/src/__tests__/reducers/config.test.js @@ -1,5 +1,5 @@ -import reducer from '../../../src/reducers/config'; -import ActionTypes from '../../../src/action-types'; +import reducer from '../../reducers/config'; +import ActionTypes from '../../action-types'; describe('config reducer', () => { describe('SET_CONFIG', () => { diff --git a/minimal_redux_poc/__tests__/src/reducers/manifests.test.js b/minimal_redux_poc/src/__tests__/reducers/manifests.test.js similarity index 91% rename from minimal_redux_poc/__tests__/src/reducers/manifests.test.js rename to minimal_redux_poc/src/__tests__/reducers/manifests.test.js index fef5dc3..561f531 100644 --- a/minimal_redux_poc/__tests__/src/reducers/manifests.test.js +++ b/minimal_redux_poc/src/__tests__/reducers/manifests.test.js @@ -1,5 +1,5 @@ -import reducer from '../../../src/reducers/manifests'; -import ActionTypes from '../../../src/action-types'; +import reducer from '../../reducers/manifests'; +import ActionTypes from '../../action-types'; describe('manifests reducer', () => { it('should handle REQUEST_MANIFEST', () => { diff --git a/minimal_redux_poc/__tests__/src/reducers/windows.test.js b/minimal_redux_poc/src/__tests__/reducers/windows.test.js similarity index 90% rename from minimal_redux_poc/__tests__/src/reducers/windows.test.js rename to minimal_redux_poc/src/__tests__/reducers/windows.test.js index a4d4856..6dc83f3 100644 --- a/minimal_redux_poc/__tests__/src/reducers/windows.test.js +++ b/minimal_redux_poc/src/__tests__/reducers/windows.test.js @@ -1,5 +1,5 @@ -import reducer from '../../../src/reducers/windows'; -import ActionTypes from '../../../src/action-types'; +import reducer from '../../reducers/windows'; +import ActionTypes from '../../action-types'; describe('windows reducer', () => { it('should handle ADD_WINDOW', () => { diff --git a/minimal_redux_poc/__tests__/src/reducers/workspace.test.js b/minimal_redux_poc/src/__tests__/reducers/workspace.test.js similarity index 68% rename from minimal_redux_poc/__tests__/src/reducers/workspace.test.js rename to minimal_redux_poc/src/__tests__/reducers/workspace.test.js index e1e24a7..7205d07 100644 --- a/minimal_redux_poc/__tests__/src/reducers/workspace.test.js +++ b/minimal_redux_poc/src/__tests__/reducers/workspace.test.js @@ -1,5 +1,5 @@ -import reducer from '../../../src/reducers/workspace'; -import ActionTypes from '../../../src/action-types'; +import reducer from '../../reducers/workspace'; +import ActionTypes from '../../action-types'; describe('workspace reducer', () => { it('should handle FOCUS_WINDOW', () => {