Skip to content

Commit

Permalink
Ensure ReactTestUtils usage
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanFoster committed Apr 26, 2018
1 parent aa8e260 commit eb39f5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tests/DateRangePicker.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});

Expand Down

0 comments on commit eb39f5c

Please sign in to comment.