Skip to content

Commit 72f9cbf

Browse files
committed
Disable test
1 parent 747c760 commit 72f9cbf

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

package/src/renderer/__tests__/e2e/SVG.spec.tsx

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,14 @@ const tiger = new SVGAsset(
5555
800
5656
);
5757

58-
const text = new SVGAsset(
59-
`<svg viewBox='0 0 290 500' width='290' height='325' xmlns='http://www.w3.org/2000/svg'>
60-
<circle cx='31' cy='325' r='120px' fill='#c02aaa'/>
61-
<text x="20" y="35" fill="black">My Text</text>
62-
</svg>`,
63-
290,
64-
500
65-
);
58+
// const text = new SVGAsset(
59+
// `<svg viewBox='0 0 290 500' width='290' height='325' xmlns='http://www.w3.org/2000/svg'>
60+
// <circle cx='31' cy='325' r='120px' fill='#c02aaa'/>
61+
// <text x="20" y="35" fill="black">My Text</text>
62+
// </svg>`,
63+
// 290,
64+
// 500
65+
// );
6666

6767
const svgWithoutSize = {
6868
__typename__: "SVG" as const,
@@ -205,13 +205,13 @@ describe("Displays SVGs", () => {
205205
checkImage(image, docPath("opacity-tiger.png"));
206206
});
207207

208-
itRunsE2eOnly("can render text", async () => {
209-
const image = await surface.draw(
210-
<>
211-
<Fill color="white" />
212-
<ImageSVG svg={text} x={0} y={0} width={800} height={800} />
213-
</>
214-
);
215-
checkImage(image, "snapshots/svg/text.png");
216-
});
208+
// itRunsE2eOnly("can render text", async () => {
209+
// const image = await surface.draw(
210+
// <>
211+
// <Fill color="white" />
212+
// <ImageSVG svg={text} x={0} y={0} width={800} height={800} />
213+
// </>
214+
// );
215+
// checkImage(image, "snapshots/svg/text.png");
216+
// });
217217
});

0 commit comments

Comments
 (0)