From 48d01343c3dc72bdf7992ba4e570fbd1b7d1a1c7 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Mon, 25 Apr 2016 22:47:37 +1200 Subject: [PATCH] Adapt to new naming convention --- .../client/src/components/form/{styles.scss => Form.scss} | 0 .../state/forms/{action-types.js => FormsActionTypes.js} | 0 .../src/state/forms/{actions.js => FormsActions.js} | 2 +- .../src/state/forms/{reducer.js => FormsReducer.js} | 2 +- .../forms/tests/{reducer-test.js => FormsReducer-test.js} | 8 ++++---- 5 files changed, 6 insertions(+), 6 deletions(-) rename admin/client/src/components/form/{styles.scss => Form.scss} (100%) rename admin/client/src/state/forms/{action-types.js => FormsActionTypes.js} (100%) rename admin/client/src/state/forms/{actions.js => FormsActions.js} (97%) rename admin/client/src/state/forms/{reducer.js => FormsReducer.js} (96%) rename admin/client/src/state/forms/tests/{reducer-test.js => FormsReducer-test.js} (96%) diff --git a/admin/client/src/components/form/styles.scss b/admin/client/src/components/form/Form.scss similarity index 100% rename from admin/client/src/components/form/styles.scss rename to admin/client/src/components/form/Form.scss diff --git a/admin/client/src/state/forms/action-types.js b/admin/client/src/state/forms/FormsActionTypes.js similarity index 100% rename from admin/client/src/state/forms/action-types.js rename to admin/client/src/state/forms/FormsActionTypes.js diff --git a/admin/client/src/state/forms/actions.js b/admin/client/src/state/forms/FormsActions.js similarity index 97% rename from admin/client/src/state/forms/actions.js rename to admin/client/src/state/forms/FormsActions.js index 83409d924..9595a9aaf 100644 --- a/admin/client/src/state/forms/actions.js +++ b/admin/client/src/state/forms/FormsActions.js @@ -1,4 +1,4 @@ -import { ACTION_TYPES } from './action-types'; +import { ACTION_TYPES } from './FormsActionTypes'; /** * Removes a form from state. diff --git a/admin/client/src/state/forms/reducer.js b/admin/client/src/state/forms/FormsReducer.js similarity index 96% rename from admin/client/src/state/forms/reducer.js rename to admin/client/src/state/forms/FormsReducer.js index 8518ffc65..70a46f5a7 100644 --- a/admin/client/src/state/forms/reducer.js +++ b/admin/client/src/state/forms/FormsReducer.js @@ -1,5 +1,5 @@ import deepFreeze from 'deep-freeze'; -import { ACTION_TYPES } from './action-types'; +import { ACTION_TYPES } from './FormsActionTypes'; const initialState = deepFreeze({}); diff --git a/admin/client/src/state/forms/tests/reducer-test.js b/admin/client/src/state/forms/tests/FormsReducer-test.js similarity index 96% rename from admin/client/src/state/forms/tests/reducer-test.js rename to admin/client/src/state/forms/tests/FormsReducer-test.js index eb48b4e3a..7131aeaa6 100644 --- a/admin/client/src/state/forms/tests/reducer-test.js +++ b/admin/client/src/state/forms/tests/FormsReducer-test.js @@ -1,10 +1,10 @@ jest.unmock('deep-freeze'); -jest.unmock('../reducer'); -jest.unmock('../action-types'); +jest.unmock('../FormsReducer'); +jest.unmock('../FormsActionTypes'); import deepFreeze from 'deep-freeze'; -import { ACTION_TYPES } from '../action-types'; -import formsReducer from '../reducer'; +import { ACTION_TYPES } from '../FormsActionTypes'; +import formsReducer from '../FormsReducer'; describe('formsReducer', () => {