mirror of
https://github.com/bobwen-dev/react-templates
synced 2025-04-12 00:56:39 +02:00
add svg to test
This commit is contained in:
parent
cd10ee8b70
commit
e73e15b186
1
test/data/svg.rt
Normal file
1
test/data/svg.rt
Normal file
@ -0,0 +1 @@
|
||||
<svg class="badge"><use xlinkHref="#logo"></use></svg>
|
After Width: | Height: | Size: 55 B |
1
test/data/svg.rt.html
Normal file
1
test/data/svg.rt.html
Normal file
@ -0,0 +1 @@
|
||||
<svg class="badge"><use xlink:href="#logo"/></svg>
|
After Width: | Height: | Size: 51 B |
@ -173,7 +173,7 @@ test('convert jsrt and test source results', function (t) {
|
||||
|
||||
test('html tests', function (t) {
|
||||
var files = ['scope.rt', 'scope-trailing-semicolon.rt', 'scope-variable-references.rt', 'lambda.rt', 'eval.rt', 'props.rt', 'custom-element.rt', 'style.rt', 'concat.rt',
|
||||
'js-in-attr.rt', 'props-class.rt', 'rt-class.rt', 'className.rt',
|
||||
'js-in-attr.rt', 'props-class.rt', 'rt-class.rt', 'className.rt', 'svg.rt',
|
||||
'scope-evaluated-after-repeat.rt', 'scope-evaluated-after-repeat2.rt', 'scope-evaluated-after-if.rt', 'scope-obj.rt'
|
||||
];
|
||||
t.plan(files.length);
|
||||
|
Loading…
x
Reference in New Issue
Block a user