fix(logging): Improve warning logging and add permission settings file
This commit is contained in:
		| @@ -48,10 +48,9 @@ export class TsTest { | ||||
|     // Start timeout warning timer if no timeout was specified | ||||
|     if (this.timeoutSeconds === null) { | ||||
|       this.timeoutWarningTimer = setTimeout(() => { | ||||
|         // Use the logger instead of console.error to ensure the warning is visible | ||||
|         this.logger.error('Warning: Test is running for more than 1 minute.'); | ||||
|         this.logger.error('Consider using --timeout option to set a timeout for test files.'); | ||||
|         this.logger.error('Example: tstest test --timeout=300 (for 5 minutes)'); | ||||
|         this.logger.warning('Test is running for more than 1 minute.'); | ||||
|         this.logger.warning('Consider using --timeout option to set a timeout for test files.'); | ||||
|         this.logger.warning('Example: tstest test --timeout=300 (for 5 minutes)'); | ||||
|       }, 60000); // 1 minute | ||||
|     } | ||||
|      | ||||
|   | ||||
		Reference in New Issue
	
	Block a user