-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
- I know we've discussed how to test the DOM several times and whether testing the front-end is like testing the core functionality (which you can easily check by testing the app manually) but I would suggest adding a couple of tests to make sure that your functions are called properly (hence testing your own script functionality) An example I can think of would be to test whether the results are cleared after you have selected one of the suggested words (testing the
setTimeoutfunction you have attached in theulevent listener). - You could wrap the main.js into a function not to expose variables and functions globally (although you don't test this but to protect your code accessibility)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels