cypress/utils/commonUtils.ts
Showing 2 of 2 total issues
Function generateRandomCharacter
has 140 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function generateRandomCharacter( options: { charLimit?: number; paragraphCount?: number; } = {},
- Create a ticketCreate a ticket
File commonUtils.ts
has 259 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
// Utility Functionsfunction getRandomIndex(max: number): number { const randomBytes = new Uint8Array(1); crypto.getRandomValues(randomBytes); return randomBytes[0] % max;
- Create a ticketCreate a ticket