Skip to content

Commit

Permalink
spelling updates, happo changes
Browse files Browse the repository at this point in the history
  • Loading branch information
pambecker committed Oct 18, 2024
1 parent 8798f41 commit 7e5ab75
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
ntsReleaseMissingInfo,
postalOnlyInfo,
diversionInfo,
cancelledInfo,
canceledInfo,
ppmInfo,
ppmInfoApprovedOrExcluded,
ppmInfoRejected,
Expand Down Expand Up @@ -250,11 +250,11 @@ export const DivertedShipment = () => (
</div>
);

export const CancelledShipment = () => (
export const CanceledShipment = () => (
<div style={{ padding: '20px' }}>
<ShipmentDisplay
shipmentId="1"
displayInfo={cancelledInfo}
displayInfo={canceledInfo}
ordersLOA={ordersLOA}
shipmentType={SHIPMENT_OPTIONS.HHG}
isSubmitted
Expand Down Expand Up @@ -533,11 +533,11 @@ export const DivertedShipmentReadOnly = () => (
</div>
);

export const CancelledShipmentReadOnly = () => (
export const CanceledShipmentReadOnly = () => (
<div style={{ padding: '20px' }}>
<ShipmentDisplay
shipmentId="1"
displayInfo={cancelledInfo}
displayInfo={canceledInfo}
ordersLOA={ordersLOA}
shipmentType={SHIPMENT_OPTIONS.HHG}
isSubmitted
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
ntsMissingInfo,
postalOnlyInfo,
diversionInfo,
cancelledInfo,
canceledInfo,
ntsReleaseInfo,
ntsReleaseMissingInfo,
ordersLOA,
Expand Down Expand Up @@ -79,7 +79,7 @@ describe('Shipment Container', () => {
expect(screen.getByText('diversion')).toBeInTheDocument();
});
it('renders with canceled tag', () => {
render(<ShipmentDisplay shipmentId="1" displayInfo={cancelledInfo} onChange={jest.fn()} isSubmitted={false} />);
render(<ShipmentDisplay shipmentId="1" displayInfo={canceledInfo} onChange={jest.fn()} isSubmitted={false} />);
expect(screen.getByText('canceled')).toBeInTheDocument();
});
it('renders a disabled button when move is locked', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export const diversionInfo = {
counselorRemarks: 'counselor approved',
};

export const cancelledInfo = {
export const canceledInfo = {
heading: 'HHG',
shipmentId: 'testShipmentId394',
isDiversion: false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export const shipmentHeadingDiversion = () => (
</MockProviders>
);

export const shipmentHeadingCancelled = () => (
export const shipmentHeadingCanceled = () => (
<MockProviders permissions={[permissionTypes.createShipmentCancellation]}>
<ShipmentHeading
shipmentInfo={{
Expand Down

0 comments on commit 7e5ab75

Please sign in to comment.