javascript - Testing selector presence in Jasmine -


Do anyone know how I can test it in Jasmine?

  function gameWon) {$ ('#final_message_cpu'). Html ('you von !!!') $ ('. Computer_selection'). CSS ('display', 'block'); Deleting $ ('# Show_after_starting'). $ ('# Hide_after_starting') CSS ('display', 'inline') $ ('# hide_after_starting'). Click (function () {location.reload ();}}}  

What is the only way I can test to see if $ ('# show_after_starting') is deleted has given?

Yes:

  expected ($ ('# show_after_starting') Length). TBE (0);  

Comments

Popular posts from this blog

Editing Python Class in Shell and SQLAlchemy -

import - Python ImportError: No module named wmi -

uislider - In a MATLAB GUI, how does one implement a continuously varying slider from a GUIDE created .m file? -