Skip to content

A modern, self-hosted backup solution for secure, encrypted backups across local and cloud storage.

chore: remote unnecessary test cases

towfiqie49f29a65dd7
diff --git a/backend/__tests__/utils/rclone/rclone.test.ts b/backend/__tests__/utils/rclone/rclone.test.ts
index d9000c8..92b565d 100644
--- a/backend/__tests__/utils/rclone/rclone.test.ts
+++ b/backend/__tests__/utils/rclone/rclone.test.ts
@@ -239,31 +239,6 @@ describe('runRcloneCommand', () => {
expect(result).toBe('rclone v1.0.0');
});
- it('should log command execution details', async () => {
- const args = ['ls', 'remote:path'];
-
- const promise = runRcloneCommand(args);
-
- mockProcess.emit('close', 0);
-
- await promise;
-
- // The close event log is the only active console.log in the source
- expect(consoleLogSpy).toHaveBeenCalledWith('[rclone] Close Fired!! Code :', 0);
- });
-
- it('should log close event with exit code', async () => {
- const args = ['version'];
-
- const promise = runRcloneCommand(args);
-
- mockProcess.emit('close', 0);
-
- await promise;
-
- expect(consoleLogSpy).toHaveBeenCalledWith('[rclone] Close Fired!! Code :', 0);
- });
-
it('should handle commands with no arguments', async () => {
const args: string[] = [];