Closed maxlemieux closed 4 years ago
What's happening: Clicking search button with an empty search field adds an empty string to the search history array
What should happen: Clicking search button with an empty search field should do nothing
Fixed by changing equivalence test to exist/length test for newSearchTerm
What's happening: Clicking search button with an empty search field adds an empty string to the search history array
What should happen: Clicking search button with an empty search field should do nothing