Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: TT-20 Calculate time difference when new entries added
  • Loading branch information
wobravo committed Apr 17, 2021
commit 00b9f22d08714939fab50801fc98b77d8d8b9577
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ describe('DetailsFieldsComponent', () => {
},
];
diffParams.map((param) => {
fit(`if [start_date, start_hour] and [end_date, end_hour] diff is ${param.case}`, () => {
it(`if [start_date, start_hour] and [end_date, end_hour] diff is ${param.case}`, () => {
component.entryForm.setValue({ ...formValues, ...param.entryDates });
const timeDiff = component.getTimeDifference();
expect(timeDiff).toBe(param.expectedTimeDiff);
Expand Down