You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Investigate why the test is not passing while the same code on the page is working perfectly.
The broken test code:
it("Element.asPX - from em", function() {
var rect = s.rect(0, 0, 10, '10em');
var heightAsPx = rect.asPX("height");
expect(heightAsPx).to.be(160); // assumes 1em = 16px, is this safe?
});
The text was updated successfully, but these errors were encountered:
Investigate why the test is not passing while the same code on the page is working perfectly.
The broken test code:
The text was updated successfully, but these errors were encountered: