mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
18 lines
505 B
JavaScript
18 lines
505 B
JavaScript
|
|
Tinytest.add("less - presence", function(test) {
|
|
|
|
var div = document.createElement('div');
|
|
UI.materialize(Template.less_test_presence, div);
|
|
div.style.display = 'block';
|
|
document.body.appendChild(div);
|
|
|
|
var p = div.querySelector('p');
|
|
test.equal(getStyleProperty(p, 'border-left-style'), "dashed");
|
|
|
|
// test @import
|
|
test.equal(getStyleProperty(p, 'border-right-style'), "dotted");
|
|
test.equal(getStyleProperty(p, 'border-bottom-style'), "double");
|
|
|
|
document.body.removeChild(div);
|
|
});
|