1
0
Fork 0

Updating tests

This commit is contained in:
Joost De Cock 2018-09-22 11:14:10 +02:00
parent c376510367
commit 56542e5cda
2 changed files with 4 additions and 4 deletions

View file

@ -168,11 +168,11 @@ it("Should sample models with focus", () => {
expect(pattern.parts.a.paths.test_1.render).to.equal(true);
expect(pattern.parts.b.paths.test_2.ops[1].to.x).to.equal(10);
expect(pattern.parts.a.paths.test_1.attributes.get("class")).to.equal(
"sample sample-1 sample-focus"
"sample-focus"
);
expect(
pattern.parts.b.paths.test_2.attributes.get("class")
).to.equalIgnoreSpaces("sample sample-2");
pattern.parts.b.paths.test_2.attributes.get("style")
).to.equalIgnoreSpaces("stroke: hsl(165, 100%, 35%);");
});
it("Should register a hook via on", () => {