Skip to content

Commit

Permalink
fix productivity overview unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusbsilva137 committed Aug 15, 2024
1 parent 7c9ee77 commit da40a02
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ describe('OverviewData Analytics', () => {
// choosing this specific date since the day before and after are not empty
const targetDate = moment().set('month', 10).set('year', 2023).set('date', 25);

const result = await overview.Productivity(targetDate.startOf('day'), targetDate.endOf('day'), '', 'UTC');
const result = await overview.Productivity(targetDate.startOf('day'), targetDate.clone().endOf('day'), '', 'UTC');

expect(result).to.be.deep.equal([
{ title: 'Avg_response_time', value: '00:00:01' },
Expand Down

0 comments on commit da40a02

Please sign in to comment.