From 4058b9f95d0fdb643cd7e8f5c6e414621d43d7f7 Mon Sep 17 00:00:00 2001 From: Raphael Benitte Date: Wed, 11 May 2016 12:49:52 +0900 Subject: [PATCH] feat(calendar): update CalendarD3 test --- specs/calendar/CalendarD3.spec.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/specs/calendar/CalendarD3.spec.js b/specs/calendar/CalendarD3.spec.js index 17cc259f9..3b0732fb6 100644 --- a/specs/calendar/CalendarD3.spec.js +++ b/specs/calendar/CalendarD3.spec.js @@ -62,6 +62,10 @@ describe('', 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); })