Skip to content

Commit 4144da6

Browse files
committed
fix: TT-20 Calculate time difference when new entries added
1 parent 3257cf0 commit 4144da6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/modules/shared/components/details-fields/details-fields.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ describe('DetailsFieldsComponent', () => {
507507
},
508508
];
509509
diffParams.map((param) => {
510-
fit(`if [start_date, start_hour] and [end_date, end_hour] diff is ${param.case}`, () => {
510+
it(`if [start_date, start_hour] and [end_date, end_hour] diff is ${param.case}`, () => {
511511
component.entryForm.setValue({ ...formValues, ...param.entryDates });
512512
const timeDiff = component.getTimeDifference();
513513
expect(timeDiff).toBe(param.expectedTimeDiff);

0 commit comments

Comments
 (0)