From eb39f5ca7537d7387833158e13966bf959827d27 Mon Sep 17 00:00:00 2001 From: Alan Foster Date: Fri, 27 Apr 2018 00:19:08 +0100 Subject: [PATCH] Ensure ReactTestUtils usage --- src/tests/DateRangePicker.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/DateRangePicker.spec.js b/src/tests/DateRangePicker.spec.js index 3e2066ab..9a9bea2e 100644 --- a/src/tests/DateRangePicker.spec.js +++ b/src/tests/DateRangePicker.spec.js @@ -320,7 +320,7 @@ describe('The DateRangePicker component', function () { initialMonth: 6, }); this.renderedComponent.highlightRange(highlightedRange); - var calendarMonthComponent = TestUtils.scryRenderedComponentsWithType(this.renderedComponent, CalendarMonth)[0]; + var calendarMonthComponent = ReactTestUtils.scryRenderedComponentsWithType(this.renderedComponent, CalendarMonth)[0]; expect(calendarMonthComponent.props.highlightedRange).toBe(highlightedRange); });