Skip to content

Commit 72b1760

Browse files
committed
Clean up tests
1 parent be414e5 commit 72b1760

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

test/addClassNameToNode.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,33 +16,23 @@ describe("/lib", () => {
1616
it("should add a class name to a node without a class attr", () => {
1717
assert.deepEqual(addClassNameToNode(fixtures.noClass.input, ":test"), fixtures.noClass.expected);
1818
});
19-
});
2019

21-
describe("/addClassNameToNode.js", () => {
2220
it("should add a class name to a node with an empty class attr", () => {
2321
assert.deepEqual(addClassNameToNode(fixtures.emptyClass.input, ":test"), fixtures.emptyClass.expected);
2422
});
25-
});
2623

27-
describe("/addClassNameToNode.js", () => {
2824
it("should add a class name to the end of a node with a class attr", () => {
2925
assert.deepEqual(addClassNameToNode(fixtures.endClass.input, ":test"), fixtures.endClass.expected);
3026
});
31-
});
3227

33-
describe("/addClassNameToNode.js", () => {
3428
it("should add a class name sorted properly to a node with a class attr 1", () => {
3529
assert.deepEqual(addClassNameToNode(fixtures.sortClass1.input, ":first-of-type"), fixtures.sortClass1.expected);
3630
});
37-
});
3831

39-
describe("/addClassNameToNode.js", () => {
4032
it("should add a class name sorted properly to a node with a class attr 2", () => {
4133
assert.deepEqual(addClassNameToNode(fixtures.sortClass2.input, ":first-child"), fixtures.sortClass2.expected);
4234
});
43-
});
4435

45-
describe("/addClassNameToNode.js", () => {
4636
it("should add a class name sorted properly to a node with a class attr 3", () => {
4737
assert.deepEqual(addClassNameToNode(fixtures.sortClass3.input, ":first-child"), fixtures.sortClass3.expected);
4838
});

0 commit comments

Comments
 (0)