mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-19 18:48:52 +00:00
test: remove unused mock for patch service in application.command.test.ts
- Removed the mock for the patch service to streamline the test setup. - This change enhances test clarity by eliminating unnecessary mock definitions.
This commit is contained in:
@@ -28,9 +28,6 @@ vi.mock("@dokploy/server/db", () => {
|
|||||||
applications: {
|
applications: {
|
||||||
findFirst: vi.fn(),
|
findFirst: vi.fn(),
|
||||||
},
|
},
|
||||||
patch: {
|
|
||||||
findMany: vi.fn().mockResolvedValue([]),
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user