Skip to content

Commit

Permalink
Fixed Typos
Browse files Browse the repository at this point in the history
  • Loading branch information
FuriousLlama committed Dec 18, 2024
1 parent 3fe7791 commit e0bb4eb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export const AcquisitionListView: React.FunctionComponent<
<Styled.Scrollable>
<CommonStyled.H1>
<AcquisitionFileIcon title="Acquisition file icon" fill="currentColor" />
<span className="ml-2">Acquistion Files</span>
<span className="ml-2">Acquisition Files</span>
</CommonStyled.H1>
<Styled.PageToolbar>
<Row>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,14 +128,14 @@ describe('Compensation Detail View Component', () => {
});

it('Edit Compensation Button not displayed without claims when is in "Draft" status', async () => {
const acquistionFile = mockAcquisitionFileResponse();
const acquisition = mockAcquisitionFileResponse();
const mockFinalCompensation = getMockApiDefaultCompensation();

const { queryByTitle } = await setup({
claims: [Claims.COMPENSATION_REQUISITION_VIEW],
props: {
file: {
...acquistionFile,
...acquisition,
fileStatusTypeCode: toTypeCodeNullable(ApiGen_CodeTypes_AcquisitionStatusTypes.ACTIVE),
},
compensation: { ...mockFinalCompensation, isDraft: true },
Expand Down Expand Up @@ -165,13 +165,13 @@ describe('Compensation Detail View Component', () => {
});

it('User does not have the option to Edit Compensation when is in "FINAL" status', async () => {
const acquistionFile = mockAcquisitionFileResponse();
const acquisition = mockAcquisitionFileResponse();
const mockFinalCompensation = getMockApiDefaultCompensation();
const { queryByTitle, getByTestId } = await setup({
claims: [Claims.COMPENSATION_REQUISITION_EDIT],
props: {
file: {
...acquistionFile,
...acquisition,
fileStatusTypeCode: toTypeCodeNullable(ApiGen_CodeTypes_AcquisitionStatusTypes.COMPLT),
},
compensation: { ...mockFinalCompensation, isDraft: false },
Expand Down

0 comments on commit e0bb4eb

Please sign in to comment.