Skip to content

Commit

Permalink
Update advance-request.service.spec.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
bistaastha authored Apr 12, 2024
1 parent ec6d966 commit 32b6e81
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions src/app/core/services/advance-request.service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -408,13 +408,11 @@ describe('AdvanceRequestService', () => {
});
});

describe('fixDatesForPlatformFields():', () => {
it('should convert string values to dates', () => {
//@ts-ignore
expect(advanceRequestService.fixDatesForPlatformFields(advanceRequestPlatform.data[0])).toEqual(
advanceRequestPlatform.data[0]
);
});
it('fixDatesForPlatformFields(): should convert string values to dates', () => {
//@ts-ignore
expect(advanceRequestService.fixDatesForPlatformFields(advanceRequestPlatform.data[0])).toEqual(
advanceRequestPlatform.data[0]
);
});

it('getActiveApproversByAdvanceRequestId(): should get active approvers for an advance request', (done) => {
Expand Down

0 comments on commit 32b6e81

Please sign in to comment.