Skip to content

Commit

Permalink
test(filtering): Fix the logic calculating test results (#2915)
Browse files Browse the repository at this point in the history
  • Loading branch information
Borislav Kulov committed Dec 17, 2018
1 parent fbe0d4b commit 7d01144
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2988,7 +2988,9 @@ function fillExpectedResults(grid: IgxGridComponent, calendar: Calendar, today)
// day + 15
if (!dateItem0.isThisYear) {
thisYearCountItems--;
} else if (dateItem0.isNextYear) {
}

if (dateItem0.isNextYear) {
nextYearCountItems++;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,9 @@ function fillExpectedResults(grid: IgxGridComponent, calendar: Calendar, today)
// day + 15
if (!dateItem0.isThisYear) {
thisYearCountItems--;
} else if (dateItem0.isNextYear) {
}

if (dateItem0.isNextYear) {
nextYearCountItems++;
}

Expand Down

0 comments on commit 7d01144

Please sign in to comment.