mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 22:43:42 +00:00
node tests: Test drafts_overlay_open().
This commit is contained in:
@@ -147,3 +147,11 @@ var draft_2 = {
|
|||||||
|
|
||||||
drafts.initialize();
|
drafts.initialize();
|
||||||
}());
|
}());
|
||||||
|
|
||||||
|
(function test_drafts_overlay_open() {
|
||||||
|
var overlay = $("#draft_overlay");
|
||||||
|
assert(!drafts.drafts_overlay_open());
|
||||||
|
overlay.addClass("show");
|
||||||
|
assert(drafts.drafts_overlay_open());
|
||||||
|
}());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user