()
| 18 | * Saves the current count so we can compare it later. |
| 19 | */ |
| 20 | export const saveCurrentCount = () => { |
| 21 | sessionStorage.setItem(SAVED_COUNT_KEY, getCurrentCount().toString()); |
| 22 | }; |
| 23 | |
| 24 | const isSaved = () => sessionStorage.getItem(SAVED_COUNT_KEY) !== null; |
| 25 |
no test coverage detected