According to [jasmine jquery docs](https://github.com/velesin/jasmine-jquery#jquery-matchers) you can use 'toBeHidden()' method instead.