Skip to content

Commit

Permalink
feat(calendar): update CalendarD3 test
Browse files Browse the repository at this point in the history
  • Loading branch information
Raphael Benitte committed May 11, 2016
1 parent cd94e38 commit 4058b9f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions specs/calendar/CalendarD3.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ describe('<CalendarD3 />', function () {
expect(months).toNotBe(null);
expect(months.length).toBe(12 * 2);

const monthLegends = node.getElementsByClassName('nivo_calendar_month_legend');
expect(monthLegends).toNotBe(null);
expect(monthLegends.length).toBe(12 * 2);

done();
}, 400);
})
Expand Down

0 comments on commit 4058b9f

Please sign in to comment.