regexper-static/src/rendering/SVG/__snapshots__/test.js.snap

84 lines
1.6 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`SVG layout 1`] = `
Object {
"box": Object {
"height": 40,
"width": 120,
},
"children": Array [
Object {
"box": Object {
"height": 20,
"width": 100,
},
"type": "Text",
},
],
"props": Object {
"height": 40,
"width": 120,
},
"type": "SVG",
}
`;
exports[`SVG rendering 1`] = `
<DocumentFragment>
<svg
height="20"
style="background-color: rgb(255, 255, 255);"
viewBox="0 0 100 20"
width="100"
xmlns="http://www.w3.org/2000/svg"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
>
<metadata>
<rdf:rdf>
<cc:license
rdf:about="http://creativecommons.org/licenses/by/3.0/"
>
<cc:permits
rdf:resource="http://creativecommons.org/ns#Reproduction"
/>
<cc:permits
rdf:resource="http://creativecommons.org/ns#Distribution"
/>
<cc:requires
rdf:resource="http://creativecommons.org/ns#Notice"
/>
<cc:requires
rdf:resource="http://creativecommons.org/ns#Attribution"
/>
<cc:permits
rdf:resource="http://creativecommons.org/ns#DerivativeWorks"
/>
</cc:license>
</rdf:rdf>
</metadata>
<g
transform="translate(10 10)"
>
Content
</g>
</svg>
</DocumentFragment>
`;