Skip to content

Conversation

@Bettenoch
Copy link
Owner

Made the following changes♻:
🔹Refactor code to achieve pure functions (Broke Down code into different modules).
🔸Mock a storage object to "imitate" localStorage operations using "jest-localstorage-mock".
🔹Mock HTML to test if add/delete functions add or remove exactly one li element to/from the list in the DOM.
🔸Create a test functions to check editing, completed and completed status functions.
🔹Adjusted code to pass test.

Thank you for reviewing my repository!!🙏🙏🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants