Open Supun94 opened 7 years ago
This does not look right @Supun94. If It is the $(document).ready() callback function that you are trying to test, what you need to do is assign that callback function to a variable such that it would be accessible by the tests and call it manually before running the tests. Removing the whole document.ready() thing would break the code since that code would now run before the document is ready :stuck_out_tongue:
Pull Request for Issue #42 .