Skip to content

Commit

Permalink
Merge 296cc8c into 62b2d70
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinhagemeister committed Jan 28, 2020
2 parents 62b2d70 + 296cc8c commit 87aaf2f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions compat/test/browser/svg.test.js
Expand Up @@ -70,15 +70,15 @@ describe('svg', () => {
it('should render SVG to DOM without name (clipPathUnits) attribute manipulation', () => {
React.render(
<svg>
<clipPath id="hexagon" clipPathUnits="objectBoundingBox">
<polygon points="0.5 0, 1 0.25, 1 0.75, 0.5 1, 0 0.75, 0 0.25" />
<clipPath clipPathUnits="objectBoundingBox">
<polygon points="0,100 50,25 50,75 100,0" />
</clipPath>
</svg>,
scratch
);
expect(serializeHtml(scratch)).to.eql(
sortAttributes(
'<svg><clipPath id="hexagon" clipPathUnits="objectBoundingBox"><polygon points="0.5 0, 1 0.25, 1 0.75, 0.5 1, 0 0.75, 0 0.25" /></clipPath></svg>'
'<svg><clipPath clipPathUnits="objectBoundingBox"><polygon points="0,100 50,25 50,75 100,0" /></clipPath></svg>'
)
);
});
Expand Down

0 comments on commit 87aaf2f

Please sign in to comment.