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

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

c# - MySQL Parameterized Select Query joining tables issue -