mirror of https://github.com/sveltejs/svelte
parent
aab6df51fd
commit
621fc92b1c
@ -0,0 +1,18 @@
|
|||||||
|
// Hmm, another JSDOM quirk
|
||||||
|
export default {
|
||||||
|
skip: true,
|
||||||
|
|
||||||
|
html: `
|
||||||
|
<svg>
|
||||||
|
<g>
|
||||||
|
<circle class='red'/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
`,
|
||||||
|
|
||||||
|
test ( assert, component, target ) {
|
||||||
|
const circle = target.querySelector( 'circle' );
|
||||||
|
assert.equal( circle.getAttribute( 'class' ), 'red' );
|
||||||
|
component.teardown();
|
||||||
|
}
|
||||||
|
};
|
After Width: | Height: | Size: 48 B |
Loading…
Reference in new issue