Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
patricklafrance committed Oct 15, 2019
1 parent 1b231e9 commit b65b74a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,6 @@ export class DatePickerTextboxInput extends PureComponent {
tabIndex={disabled ? "-1" : "0"}
autoComplete="off"
disabled={disabled}
// ref={this.setContainerRef}
ref={this._containerRef}
data-testid="date-picker-textbox-input"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ test("call onKeyDown when any keys down on the input", async () => {
expect(handler).toHaveBeenCalledTimes(3);
});

test("call onClear on clear button click", async () => {
test("call onClear when the clear button is clicked", async () => {
const handler = jest.fn();

const { getByTestId } = render(createRemoteSearchInput({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ test("call onBlur when the input blur", async () => {
expect(handler).toHaveBeenLastCalledWith(expect.anything(), expect.anything());
});

test("call onClear on clear button click", async () => {
test("call onClear when the clear button is clicked", async () => {
const handler = jest.fn();

const { getByTestId } = render(createSearchInput({
Expand Down

0 comments on commit b65b74a

Please sign in to comment.