File tree Expand file tree Collapse file tree 4 files changed +8
-6
lines changed Expand file tree Collapse file tree 4 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 3
3
"version" : " 0.0.1" ,
4
4
"description" : " A simple element to fixture DOM for tests." ,
5
5
"dependencies" : {
6
- "webcomponentsjs" : " ~0.5.3 "
6
+ "webcomponentsjs" : " webcomponents/webcomponentsjs# ~0.6.0 "
7
7
},
8
8
"devDependencies" : {
9
- "web-component-tester" : " *"
9
+ "web-component-tester" : " ~2.2.6" ,
10
+ "polymer" : " polymer/polymer#0.8-preview"
10
11
}
11
12
}
Original file line number Diff line number Diff line change 52
52
var fixturedElement ;
53
53
54
54
if ( ! ( fixtureTemplate &&
55
- fixtureTemplate instanceof HTMLTemplateElement ) ) {
55
+ fixtureTemplate . tagName === 'TEMPLATE' ) ) {
56
56
return ;
57
57
}
58
58
Original file line number Diff line number Diff line change 11
11
< head >
12
12
< meta charset ="utf-8 ">
13
13
14
- < script src ="../bower_components /webcomponentsjs/webcomponents.js "> </ script >
15
- < script src ="../bower_components /web-component-tester/browser.js "> </ script >
14
+ < script src ="../.. /webcomponentsjs/webcomponents-lite .js "> </ script >
15
+ < script src ="../.. /web-component-tester/browser.js "> </ script >
16
16
17
- < link rel ="import " href ="../bower_components /polymer/polymer.html ">
17
+ < link rel ="import " href ="../.. /polymer/polymer.html ">
18
18
19
19
</ head >
20
20
< body >
Original file line number Diff line number Diff line change 67
67
} ) ;
68
68
69
69
it ( 'clones all template fragments within itself' , function ( ) {
70
+ expect ( el ) . to . be . ok ;
70
71
expect ( document . getElementById ( 'Foo' ) ) . to . be . ok ;
71
72
} ) ;
72
73
You can’t perform that action at this time.
0 commit comments