Skip to content

Commit

Permalink
should display the Calendar icon if showIcon is set to true fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pymc20 committed Jul 10, 2023
1 parent 064095e commit 8fc5cb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/datepicker_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2111,9 +2111,9 @@ describe("DatePicker", () => {
);
let showIconClass = TestUtils.findRenderedDOMComponentWithClass(
datePicker,
"react-datepicker__input-container "
"react-datepicker__input-container"
).getAttribute("class");
expect(showIconClass).to.equal("react-datepicker__input-container ");
expect(showIconClass).to.equal("react-datepicker__input-container");
});

it("should display the Calendar icon if showIcon is set to true", () => {
Expand Down

0 comments on commit 8fc5cb2

Please sign in to comment.