Skip to content

Commit 3ac20f5

Browse files
author
Chris Joel
committed
Fix tests in IE11
1 parent 2af9492 commit 3ac20f5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

test-fixture.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
var fixturedElement;
5353

5454
if (!(fixtureTemplate &&
55-
fixtureTemplate instanceof HTMLTemplateElement)) {
55+
fixtureTemplate.tagName === 'TEMPLATE')) {
5656
return;
5757
}
5858

test/test-fixture.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
});
6868

6969
it('clones all template fragments within itself', function () {
70+
expect(el).to.be.ok;
7071
expect(document.getElementById('Foo')).to.be.ok;
7172
});
7273

0 commit comments

Comments
 (0)