This commit is contained in:
Aakansha Doshi 2024-05-06 19:09:09 +05:30
parent 906652bac2
commit 96fc3ac5bb
2 changed files with 1 additions and 6 deletions

View File

@ -8,11 +8,7 @@ import {
import { getElementBounds } from "./bounds";
import { FrameNameBounds } from "../types";
import {
Polygon,
GeometricShape,
getPolygonShape,
} from "@excalidraw/utils";
import { Polygon, GeometricShape, getPolygonShape } from "@excalidraw/utils";
import { isPointInShape, isPointOnShape } from "@excalidraw/utils";
import { isTransparent } from "../utils";
import {

View File

@ -250,7 +250,6 @@ describe("exporting frames", () => {
exportPadding: 0,
exportingFrame: frame,
});
console.log("SVG IS", svg.innerHTML);
// frame itself isn't exported
expect(svg.querySelector(`[data-id="${frame.id}"]`)).toBeNull();
// frame child is exported