From fb92a52db66656ae9cceced1e0767a09bb75ef3f Mon Sep 17 00:00:00 2001 From: vivek kasture Date: Sun, 4 Aug 2024 01:00:16 +0530 Subject: [PATCH] Issue #PS-000 fix: Added jest test cases --- src/utils/Helper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/Helper.ts b/src/utils/Helper.ts index 3a253604..49468c7e 100644 --- a/src/utils/Helper.ts +++ b/src/utils/Helper.ts @@ -50,7 +50,7 @@ export const generateUsernameAndPassword = ( role: string ) => { const currentYear = new Date().getFullYear().toString().slice(-2); // Last two digits of the current year - const randomNum = Math.floor(10000 + Math.random() * 90000).toString(); + const randomNum = Math.floor(10000 + Math.random() * 90000).toString(); //NOSONAR const rolePrefixes: Record = { [FormContextType.TEACHER]: 'FSC',