Skip to content

Commit

Permalink
rm unused method from SearchValidationErrors
Browse files Browse the repository at this point in the history
  • Loading branch information
clhenrick committed Dec 17, 2023
1 parent 5401e30 commit 3e1e8b3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
6 changes: 0 additions & 6 deletions app/src/components/searchValidationErrors.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,6 @@ export class SearchValidationErrors extends Component {
);
}

showAll() {
this.showNotFound();
this.showNoInput();
this.showGeneric();
}

hideAll() {
this.hideNotFound();
this.hideNoInput();
Expand Down
7 changes: 0 additions & 7 deletions app/src/components/searchValidationErrors.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,13 +149,6 @@ describe("SearchValidationErrors", () => {
).toBeNull();
});

test("showAll", () => {
searchValidationErrors.showAll();
expect(spyShowNoInput).toHaveBeenCalledTimes(1);
expect(spyShowNotFound).toHaveBeenCalledTimes(1);
expect(spyShowGeneric).toHaveBeenCalledTimes(1);
});

test("hideAll", () => {
searchValidationErrors.hideAll();
expect(spyHideNoInput).toHaveBeenCalledTimes(1);
Expand Down

0 comments on commit 3e1e8b3

Please sign in to comment.