Skip to content

Commit

Permalink
Fix ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Liza K committed Feb 16, 2021
1 parent 4c84050 commit 320e723
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ describe('SuggestionComponent', () => {
it('Should display the suggestion and use the provided ariaId', () => {
const component = shallow(
<SuggestionComponent
index={0}
onClick={noop}
onMouseEnter={noop}
selected={false}
Expand All @@ -43,6 +44,7 @@ describe('SuggestionComponent', () => {
it('Should make the element active if the selected prop is true', () => {
const component = shallow(
<SuggestionComponent
index={0}
onClick={noop}
onMouseEnter={noop}
selected={true}
Expand All @@ -64,6 +66,7 @@ describe('SuggestionComponent', () => {

mount(
<SuggestionComponent
index={0}
onClick={noop}
onMouseEnter={noop}
selected={false}
Expand All @@ -80,6 +83,7 @@ describe('SuggestionComponent', () => {

const component = shallow(
<SuggestionComponent
index={0}
onClick={mockHandler}
onMouseEnter={noop}
selected={false}
Expand All @@ -100,6 +104,7 @@ describe('SuggestionComponent', () => {

const component = shallow(
<SuggestionComponent
index={0}
onClick={noop}
onMouseEnter={mockHandler}
selected={false}
Expand Down

0 comments on commit 320e723

Please sign in to comment.