Skip to content
This repository was archived by the owner on Sep 20, 2019. It is now read-only.

Commit f33444f

Browse files
committed
[ci skip] move test up
1 parent 5e719db commit f33444f

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

tests/Template/tests.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@
3737
template = document.querySelector('template');
3838
});
3939

40+
test('No rendering', function() {
41+
var bcr = template.getBoundingClientRect();
42+
assert.equal(bcr.height, 0);
43+
assert.equal(bcr.width, 0);
44+
});
45+
4046
test('content', function() {
4147
assert.equal(template.childNodes.length, 0, 'template children evacipated');
4248
assert.isDefined(template.content, 'template content exists');
@@ -75,12 +81,6 @@
7581
assert.equal(imp.content.textContent, div.textContent);
7682
});
7783

78-
test('No rendering', function() {
79-
var bcr = template.getBoundingClientRect();
80-
assert.equal(bcr.height, 0);
81-
assert.equal(bcr.width, 0);
82-
});
83-
8484
test('clone', function() {
8585
var imp = document.createElement('template');
8686
var s = '<div>Hi</div>';

0 commit comments

Comments
 (0)