| 59 | }; |
| 60 | |
| 61 | const onPopupClose = e => { |
| 62 | e.preventDefault(); |
| 63 | closeAllPopups(); |
| 64 | return e.returnValue = "This string must be non-empty"; |
| 65 | }; |
| 66 | |
| 67 | const closeAllPopups = () => { |
| 68 | popups.forEach(popup => { |
nothing calls this directly
no test coverage detected