diff --git a/src/programs/allBenefitOps.js b/src/benefits/allBenefitOps.js similarity index 100% rename from src/programs/allBenefitOps.js rename to src/benefits/allBenefitOps.js diff --git a/src/programs/allBenefitOrders.js b/src/benefits/allBenefitOrders.js similarity index 100% rename from src/programs/allBenefitOrders.js rename to src/benefits/allBenefitOrders.js diff --git a/src/programs/applyAndPushBenefits.js b/src/benefits/applyAndPushBenefits.js similarity index 100% rename from src/programs/applyAndPushBenefits.js rename to src/benefits/applyAndPushBenefits.js diff --git a/src/programs/federal/snap.js b/src/benefits/federal/snap.js similarity index 100% rename from src/programs/federal/snap.js rename to src/benefits/federal/snap.js diff --git a/src/programs/massachusetts/benefitOps.js b/src/benefits/massachusetts/benefitOps.js similarity index 100% rename from src/programs/massachusetts/benefitOps.js rename to src/benefits/massachusetts/benefitOps.js diff --git a/src/programs/massachusetts/benefitOrder.js b/src/benefits/massachusetts/benefitOrder.js similarity index 100% rename from src/programs/massachusetts/benefitOrder.js rename to src/benefits/massachusetts/benefitOrder.js diff --git a/src/programs/massachusetts/section8.js b/src/benefits/massachusetts/section8.js similarity index 100% rename from src/programs/massachusetts/section8.js rename to src/benefits/massachusetts/section8.js diff --git a/src/forms/CurrentBenefits.js b/src/forms/CurrentBenefits.js index 6b9dda98..00a9ef39 100644 --- a/src/forms/CurrentBenefits.js +++ b/src/forms/CurrentBenefits.js @@ -7,7 +7,7 @@ import { FormPartsContainer } from './FormPartsContainer'; import { ControlledRadioYesNo } from './inputs'; // DATA -import { allBenefitOrders } from '../programs/allBenefitOrders'; +import { allBenefitOrders } from '../benefits/allBenefitOrders'; /** Asks which benefits the user is currently receiving diff --git a/src/forms/output/BenefitsTable.js b/src/forms/output/BenefitsTable.js index c9052400..39c173c1 100644 --- a/src/forms/output/BenefitsTable.js +++ b/src/forms/output/BenefitsTable.js @@ -3,7 +3,7 @@ import React from 'react'; import { Table } from 'semantic-ui-react'; // BENEFIT LOGIC -import { applyAndPushBenefits } from '../../programs/applyAndPushBenefits'; +import { applyAndPushBenefits } from '../../benefits/applyAndPushBenefits'; // OBJECT MANIPULATION import { cloneDeep } from 'lodash'; diff --git a/src/forms/output/Summary.js b/src/forms/output/Summary.js index 44e0ea7c..ebff566d 100644 --- a/src/forms/output/Summary.js +++ b/src/forms/output/Summary.js @@ -16,7 +16,7 @@ import { cloneDeep } from 'lodash'; import { toMoneyStr } from '../../utils/prettifiers'; // BENEFIT LOGIC -import { applyAndPushBenefits } from '../../programs/applyAndPushBenefits'; +import { applyAndPushBenefits } from '../../benefits/applyAndPushBenefits'; const EARNED_MONTHLY_INCREMENT_AMOUNT = 50; // About a 25 cent raise in monthly amount for 40hrs/week? diff --git a/src/test/programs/federal/snap/generateTestCases.js b/src/test/programs/federal/snap/generateTestCases.js index add64931..0d5e8d15 100644 --- a/src/test/programs/federal/snap/generateTestCases.js +++ b/src/test/programs/federal/snap/generateTestCases.js @@ -8,7 +8,7 @@ import { UNDER13_CARE_EXPENSES, OVER12_CARE_EXPENSES, } from '../../../../data/massachusetts/name-cores'; -import { getSNAPBenefits } from '../../../../programs/federal/snap'; +import { getSNAPBenefits } from '../../../../benefits/federal/snap'; export const FILE_NAME = 'test-cases.txt'; const NUMBER_TEST_CASES = 1000; diff --git a/src/test/programs/federal/snap/regression.test.js b/src/test/programs/federal/snap/regression.test.js index 18d4f8b5..671b81f6 100644 --- a/src/test/programs/federal/snap/regression.test.js +++ b/src/test/programs/federal/snap/regression.test.js @@ -5,7 +5,7 @@ import readline from 'readline'; import { cloneDeep, extend } from 'lodash'; import { CLIENT_DEFAULTS } from '../../../../utils/CLIENT_DEFAULTS'; -import { getSNAPBenefits } from '../../../../programs/federal/snap'; +import { getSNAPBenefits } from '../../../../benefits/federal/snap'; test('getSNAPBenefits() matches saved results', (done) => { const rl = readline.createInterface({ input: fs.createReadStream(path.resolve(__dirname, 'test-cases.txt')) }); diff --git a/src/test/programs/federal/snap/samples.test.js b/src/test/programs/federal/snap/samples.test.js index b0785952..4ea99835 100644 --- a/src/test/programs/federal/snap/samples.test.js +++ b/src/test/programs/federal/snap/samples.test.js @@ -1,4 +1,4 @@ -import { getSNAPBenefits } from '../../../../programs/federal/snap'; +import { getSNAPBenefits } from '../../../../benefits/federal/snap'; // CLIENTS import { CLIENT_DEFAULTS } from '../../../../utils/CLIENT_DEFAULTS'; diff --git a/src/test/programs/federal/snap/unit.test.js b/src/test/programs/federal/snap/unit.test.js index 3b3a3371..f54fd47c 100644 --- a/src/test/programs/federal/snap/unit.test.js +++ b/src/test/programs/federal/snap/unit.test.js @@ -1,4 +1,4 @@ -import { SNAPhelpers } from '../../../../programs/federal/snap'; +import { SNAPhelpers } from '../../../../benefits/federal/snap'; // CLIENTS import { CLIENT_DEFAULTS } from '../../../../utils/CLIENT_DEFAULTS'; diff --git a/src/test/programs/massachusetts/housing.test.js b/src/test/programs/massachusetts/housing.test.js index 66016aab..5123fdc2 100644 --- a/src/test/programs/massachusetts/housing.test.js +++ b/src/test/programs/massachusetts/housing.test.js @@ -1,4 +1,4 @@ -import { getSection8Benefit, section8Helpers } from '../../../programs/massachusetts/section8'; +import { getSection8Benefit, section8Helpers } from '../../../benefits/massachusetts/section8'; // CLIENTS import { CLIENT_DEFAULTS } from '../../../utils/CLIENT_DEFAULTS'; diff --git a/src/utils/charts/getChartData.js b/src/utils/charts/getChartData.js index 976e5161..23d41d12 100644 --- a/src/utils/charts/getChartData.js +++ b/src/utils/charts/getChartData.js @@ -2,7 +2,7 @@ import _ from 'lodash'; import { PROGRAM_CHART_VALUES } from '../../utils/charts/PROGRAM_CHART_VALUES'; // LOGIC -import { applyAndPushBenefits } from '../../programs/applyAndPushBenefits'; +import { applyAndPushBenefits } from '../../benefits/applyAndPushBenefits'; /** Returns the graph data formated in a way our graph