From fd5a61a58e228d3a7c951bdef8eaf485e5bbab31 Mon Sep 17 00:00:00 2001 From: Rachael Parris <43251054+rachaelparris@users.noreply.github.com> Date: Tue, 9 Apr 2019 14:40:25 -0700 Subject: [PATCH] Addressing Sprint 11 PR comments --- shared/src/business/entities/Case.test.js | 2 +- web-client/package.json | 8 ++++---- .../src/presenter/computeds/formattedCaseDetail.test.js | 2 +- .../sequences/setFocusedWorkItemSequence.test.js | 2 +- web-client/src/ustc-ui/Text/Text.test.js | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/shared/src/business/entities/Case.test.js b/shared/src/business/entities/Case.test.js index 8bf0950a28e..4925a3d67c8 100644 --- a/shared/src/business/entities/Case.test.js +++ b/shared/src/business/entities/Case.test.js @@ -772,7 +772,7 @@ describe('Case entity', () => { expect(caseToVerify.docketRecord.length).toEqual(0); }); - it('should not add to the docket record when the caption equivalent to the initial title', () => { + it('should not add to the docket record when the caption is equivalent to the initial title', () => { const caseToVerify = new Case({ caseCaption: 'Caption', initialTitle: 'Caption v. Commissioner of Internal Revenue, Respondent', diff --git a/web-client/package.json b/web-client/package.json index d6d73abdf20..626cf7fe123 100644 --- a/web-client/package.json +++ b/web-client/package.json @@ -6,11 +6,11 @@ "scripts": { "cypress": "cypress run", "cypress:open": "CYPRESS=true cypress open --config watchForFileChanges=true", - "dev:cypress": "CYPRESS=true USTC_ENV=dev parcel --no-cache --no-hmr src/index.pug", - "dev": "USTC_ENV=dev parcel --no-cache --no-hmr src/index.pug", - "dev:cognito": "COGNITO=true USTC_ENV=dev parcel --no-cache --no-hmr src/index.pug", + "dev:cypress": "CYPRESS=true USTC_ENV=dev parcel --no-cache --no-source-maps --no-hmr src/index.pug", + "dev": "USTC_ENV=dev parcel --no-cache --no-source-maps --no-hmr src/index.pug", + "dev:cognito": "COGNITO=true USTC_ENV=dev parcel --no-cache --no-source-maps --no-hmr src/index.pug", "dev:debug": "USTC_DEBUG=true npm run dev", - "dist": "rm -rf dist; USTC_ENV=prod parcel build --no-cache src/index.pug", + "dist": "rm -rf dist; USTC_ENV=prod parcel build --no-cache --no-source-maps src/index.pug", "lint": "eslint ./src && stylelint ./src/**/*.scss", "test": "jest .*test\\.js$", "test:watch": "jest --watch .*test\\.js$", diff --git a/web-client/src/presenter/computeds/formattedCaseDetail.test.js b/web-client/src/presenter/computeds/formattedCaseDetail.test.js index a434ba7d78e..5e6c2ececac 100644 --- a/web-client/src/presenter/computeds/formattedCaseDetail.test.js +++ b/web-client/src/presenter/computeds/formattedCaseDetail.test.js @@ -248,7 +248,7 @@ describe('formatYearAmounts', () => { ); }); - it('sorts the docet record in the expected order', async () => { + it('sorts the docket record in the expected order', async () => { const caseDetail = { caseCaption: 'Brett Osborne, Petitioner', docketRecord: [ diff --git a/web-client/src/presenter/sequences/setFocusedWorkItemSequence.test.js b/web-client/src/presenter/sequences/setFocusedWorkItemSequence.test.js index 7a896f47939..2d129d6b292 100644 --- a/web-client/src/presenter/sequences/setFocusedWorkItemSequence.test.js +++ b/web-client/src/presenter/sequences/setFocusedWorkItemSequence.test.js @@ -27,7 +27,7 @@ describe('setFocusedWorkItemSequence', () => { ]); }); - it('should collapse the alaready expanded work item of uiKey of a', async () => { + it('should collapse the already expanded work item of uiKey of a', async () => { test.setState('workQueue', [ { isFocused: true, diff --git a/web-client/src/ustc-ui/Text/Text.test.js b/web-client/src/ustc-ui/Text/Text.test.js index 782fc429fcd..0f208692829 100644 --- a/web-client/src/ustc-ui/Text/Text.test.js +++ b/web-client/src/ustc-ui/Text/Text.test.js @@ -90,7 +90,7 @@ describe('Text Component', () => { }); describe('type display', () => { - it('should show number as text text if binded value is available', () => { + it('should show number as text if binded value is available', () => { const testModule = { state: { text: 123421342,