mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
16 lines
395 B
JavaScript
16 lines
395 B
JavaScript
|
|
Tinytest.add("less - presence", function(test) {
|
|
|
|
var d = OnscreenDiv(Meteor.render(function() {
|
|
return '<p class="less-dashy-left-border"></p>'; }));
|
|
d.node().style.display = 'block';
|
|
|
|
var p = d.node().firstChild;
|
|
test.equal(getStyleProperty(p, 'border-left-style'), "dashed");
|
|
|
|
// test @import
|
|
test.equal(getStyleProperty(p, 'border-right-style'), "dotted");
|
|
|
|
d.kill();
|
|
});
|