Skip to content
Snippets Groups Projects
Commit 0a110b67 authored by Valera Rozuvan's avatar Valera Rozuvan
Browse files

Using native Jasmine-jQuery method to check for hidden el.

parent 33fa1e2c
No related merge requests found
......@@ -140,7 +140,7 @@
});
it('captions panel is not shown', function () {
expect(videoCaption.hideSubtitlesEl.css('display')).toBe('none');
expect(videoCaption.hideSubtitlesEl).toBeHidden();
});
});
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment