| Index: sky/tests/lowlevel/classlist.sky
|
| diff --git a/sky/tests/lowlevel/classlist.sky b/sky/tests/lowlevel/classlist.sky
|
| index 1622fa4ac172cc547cf7bf3ea389c0a18cebe3f6..853a817823e05b44ee866587efa5eee04cf4bbce 100644
|
| --- a/sky/tests/lowlevel/classlist.sky
|
| +++ b/sky/tests/lowlevel/classlist.sky
|
| @@ -48,6 +48,14 @@ describe("Class list", function() {
|
| assert.equal(target.classList.toString(), "second");
|
| });
|
|
|
| + it("should clear all classes", function() {
|
| + target.classList.add("first");
|
| + target.classList.add("second");
|
| + target.classList.clear();
|
| + assert.equal(target.classList.toString(), "");
|
| + assert.isFalse(target.hasAttribute("class"));
|
| + });
|
| +
|
| it("should check for classes", function() {
|
| target.classList.add("first", "second", "third");
|
| assert.isTrue(target.classList.contains("first"));
|
|
|