Skip to content

Commit 9658ac6

Browse files
committed
💚
1 parent ad99978 commit 9658ac6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ describe("Paths", () => {
170170
]);
171171
});
172172
it("should draw a pattern properly", async () => {
173-
const { Skia, translate } = importSkia();
173+
const { Skia } = importSkia();
174174

175175
const center = { x: 492 / 2, y: 757 / 2 };
176176
const scale = 0.325;
@@ -253,7 +253,7 @@ describe("Paths", () => {
253253
</Group>
254254
);
255255
})}
256-
<Group transform={translate(center)}>
256+
<Group transform={[{ translate: [center.x, center.y] }]}>
257257
<Group transform={[{ translateY: -200 }]}>
258258
<Circles />
259259
</Group>

0 commit comments

Comments
 (0)