From d61dc50c40f4e472b93b5a1ff78eca43731ec88d Mon Sep 17 00:00:00 2001 From: Aparna Jyothi Date: Wed, 26 Feb 2025 19:00:38 +0530 Subject: [PATCH] test case update --- __tests__/main.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__tests__/main.test.ts b/__tests__/main.test.ts index e9eaafdd..bce90034 100644 --- a/__tests__/main.test.ts +++ b/__tests__/main.test.ts @@ -359,7 +359,7 @@ describe('main tests', () => { const logSpy = jest.spyOn(console, 'log').mockImplementation(() => {}); // Mock the log function // Act & Assert - expect(() => validateMirrorURL(inputs['mirror-url'])).toThrowError( + expect(() => validateMirrorURL(inputs['mirror-url'])).toThrow( 'Mirror URL is empty. Please provide a valid mirror URL.' ); });