Skip to content

Commit e3368a5

Browse files
committed
test 'empty' class
1 parent bb463db commit e3368a5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

spec/fixed-footnotes-spec.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,10 @@ describe("fixed-footnotes.refresh", function() {
131131
true, false); // reference visible, note invisible
132132
var ffn = footnotes({}, w);
133133
expect(w.$(".fixed-footnotes-note").length).toBe(0);
134+
expect(w.$(".fixed-footnotes-container").hasClass("empty")).toBe(true);
134135
ffn.refresh();
135136
expect(w.$(".fixed-footnotes-note").length).toBe(1);
137+
expect(w.$(".fixed-footnotes-container").hasClass("empty")).toBe(false);
136138
done();
137139
});
138140
});

0 commit comments

Comments
 (0)