- [ ] Add tests to new file `test/clear.test.js`. - [ ] It must cover all edge cases of the `clear` command.