Skip to content

Commit

Permalink
Clean up tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinkace committed Sep 8, 2016
1 parent be414e5 commit 72b1760
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions test/addClassNameToNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,33 +16,23 @@ describe("/lib", () => {
it("should add a class name to a node without a class attr", () => {
assert.deepEqual(addClassNameToNode(fixtures.noClass.input, ":test"), fixtures.noClass.expected);
});
});

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

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

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

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

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

0 comments on commit 72b1760

Please sign in to comment.