feat: set appState.exportBackground
to true
when exporting to jpg
(#4342)
This commit is contained in:
@ -42,6 +42,9 @@ describe("exportToBlob", () => {
|
||||
getDimensions: (width, height) => ({ width, height, scale: 1 }),
|
||||
// testing typo in MIME type (jpg → jpeg)
|
||||
mimeType: "image/jpg",
|
||||
appState: {
|
||||
exportBackground: true,
|
||||
},
|
||||
});
|
||||
expect(blob?.type).toBe(MIME_TYPES.jpg);
|
||||
});
|
||||
|
Reference in New Issue
Block a user