feat: save exportScale in AppState (#3580)

Co-authored-by: David Luzar <luzar.david@gmail.com>
Co-authored-by: dwelle <luzar.david@gmail.com>
This commit is contained in:
David Laban
2021-05-30 15:31:12 +01:00
committed by GitHub
parent 035c7affff
commit abfc58eb24
14 changed files with 162 additions and 70 deletions

View File

@ -69,7 +69,7 @@ describe("exportToSvg", () => {
const svgElement = exportUtils.exportToSvg(ELEMENTS, {
...DEFAULT_OPTIONS,
exportPadding: 0,
scale: SCALE,
exportScale: SCALE,
});
expect(svgElement).toHaveAttribute(