fix: add partial mocking (#8473)

* fix: add partial mocking

* lint

* Update packages/utils/export.test.ts
This commit is contained in:
Aakansha Doshi 2024-09-06 16:41:37 +05:30 committed by GitHub
parent 51ea184938
commit 6ff56c36e3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 10 deletions

View file

@ -32,7 +32,6 @@ describe("exportToCanvas", async () => {
describe("exportToBlob", async () => {
describe("mime type", () => {
// afterEach(vi.restoreAllMocks);
it("should change image/jpg to image/jpeg", async () => {
const blob = await utils.exportToBlob({
...diagramFactory(),