|
@@ -6,7 +6,7 @@ import {
|
|
|
rectangleWithLinkFixture,
|
|
|
} from "../fixtures/elementFixture";
|
|
|
import { API } from "../helpers/api";
|
|
|
-import { exportToCanvas, exportToSvg } from "../../../utils";
|
|
|
+import { exportToCanvas, exportToSvg } from "../../../utils/export";
|
|
|
import { FRAME_STYLE } from "../../constants";
|
|
|
import { prepareElementsForExport } from "../../data";
|
|
|
|
|
@@ -250,7 +250,7 @@ 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
|