✅ Tests for utils
This commit is contained in:
parent
6b1c3fbaaf
commit
9d486fd617
5 changed files with 138 additions and 20 deletions
|
@ -118,22 +118,3 @@ it("Should attach the debug hook", () => {
|
|||
obj.debug();
|
||||
expect(count).to.equal(5);
|
||||
});
|
||||
|
||||
//it("Should render attributes correctly", () => {
|
||||
// let a = newAttr()
|
||||
// .set("class", "test")
|
||||
// .add("class", "render")
|
||||
// .set("transform", "scale(1)");
|
||||
// expect(a.render()).to.equal(' class="test render" transform="scale(1)"');
|
||||
//});
|
||||
//
|
||||
//it("Should render attributes with given prefix only", () => {
|
||||
// let a = newAttr()
|
||||
// .set("class", "test")
|
||||
// .add("class", "render")
|
||||
// .add("data-text", "foo")
|
||||
// .add("data-text", "bar")
|
||||
// .add("data-mode", "test")
|
||||
// .set("transform", "scale(1)");
|
||||
// expect(a.renderIfPrefixIs("data-")).to.equal(' text="foo bar" mode="test"');
|
||||
//});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue